Hi, we have a layout problem with dynamic form when it is overlapped by a split pane. Consider the (complete example)
As long as the form items are not focused it is working as expected and the resize bar can be moved over the dynamic form. But after focusing the text item, when moving the split bar over the items, the whole dynamic form is shoved to the left.
For the combobox another undesired behaviour can be seen: Move the split bar half over the combobox, select the combobox, type "s" and select one of the items. The dynamic form is now also instantly shoved to the left.
Only in Chrome (version 81)! In Firefox the overflow is always respected.
Is there a way to prevent the dynamic form being moved to the left? Or can this be fixed?
Thanks!
(Version: v12.0p_2018-07-12/LGPL Development Only (built 2018-07-12))
Code:
@Override public void onModuleLoad() { HLayout layout = new HLayout(); layout.setWidth100(); layout.setHeight100(); layout.setResizeBarSize(5); layout.setOverflow(Overflow.HIDDEN); VLayout leftSide = new VLayout(); leftSide.setShowResizeBar(true); leftSide.setResizeBarTarget("next"); DynamicForm dynamicForm = new DynamicForm(); dynamicForm.setOverflow(Overflow.HIDDEN); TextItem textItem = new TextItem(); ComboBoxItem comboBoxItem = new ComboBoxItem(); Map<Object, String> valueMap = new HashMap<>(); valueMap.put("A", "some text for A"); valueMap.put("B", "some text for B"); comboBoxItem.setValueMap(valueMap); comboBoxItem.setWidth(200); dynamicForm.setItems(textItem, comboBoxItem); leftSide.addMember(dynamicForm); layout.addMember(leftSide); VLayout rightSide = new VLayout(); rightSide.setBackgroundColor("red"); layout.addMember(rightSide); layout.show(); }
For the combobox another undesired behaviour can be seen: Move the split bar half over the combobox, select the combobox, type "s" and select one of the items. The dynamic form is now also instantly shoved to the left.
Only in Chrome (version 81)! In Firefox the overflow is always respected.
Is there a way to prevent the dynamic form being moved to the left? Or can this be fixed?
Thanks!
(Version: v12.0p_2018-07-12/LGPL Development Only (built 2018-07-12))
Comment