REQUIRED INFORMATION
Project Type:
Description:
- It's not possible to resize a BorderLayoutContainer widget if the left widget has a scroll bar in it and the user tries to click over the scroller of the scroll bar to do so.
- This was tested in FF, Chrome, IE and Edge. So far we could only reproduce this issue in Edge (tested in version 41 and 42).
Steps to reproduce the problem:
- Use sample code provided
- Mousover scroller (you can see the resize icon)
- Click to resize
The result that was expected:
- It should be possible to drag the resize splitter
The result that occurs instead:
HELPFUL INFORMATION
Sample Code:
Code:
final ContentPanel panel = new ContentPanel();
panel.setHeight(800);
final VerticalLayoutContainer left = new VerticalLayoutContainer();
left.add(panel);
left.setScrollMode(ScrollSupport.ScrollMode.AUTO);
final ContentPanel right = new ContentPanel();
final BorderLayoutContainer.BorderLayoutData rightLayoutData = new BorderLayoutContainer.BorderLayoutData(.5F);
rightLayoutData.setSplit(true);
final BorderLayoutContainer layoutContainer = new BorderLayoutContainer();layoutContainer.setHeight(400);
layoutContainer.setWidth(800);
layoutContainer.setCenterWidget(left);
layoutContainer.setEastWidget(right, rightLayoutData);
RootPanel.get("slot1").add(layoutContainer);