1. SmartGWT version : 4.0 or higher (include 6.0 evaluation ver)
2. Browser: Chrome, IE, Edge, FireFox etc.. (newset)
3. OS: Windows10, Windows7
4. GWT Development Mode and normal browsers
Dragging Portlet Layout cause serious problem. When I drag portlet layout(or sometime portlets), the browser is out of control. Not clicked, dragging or selected.
I think, the property "canDrop" is not competible with portlet or portlet layout.
The simple testcase is here.
public void onModuleLoad()
{
Portlet portlet1 = new Portlet();
portlet1.setTitle("1");
Portlet portlet2 = new Portlet();
portlet2.setTitle("2");
Portlet portlet3 = new Portlet();
portlet3.setTitle("3");
Portlet portlet4 = new Portlet();
portlet4.setTitle("4");
PortalLayout portalLayout = new PortalLayout(1);
portalLayout.setWidth100();
portalLayout.setHeight100();
portalLayout.setShowColumnMenus(false);
portalLayout.setCanDrop(true); // browser stopped totally, if true
portalLayout.setCanDragReposition(true);
portalLayout.setCanDragResize(true);
portalLayout.addPortlet(portlet1, 0, 0, 0);
portalLayout.addPortlet(portlet2, 0, 0, 1);
portalLayout.addPortlet(portlet3, 0, 1, 0);
portalLayout.addPortlet(portlet4, 0, 1, 1);
portalLayout.draw();
}
Comment