[CONTEDIT-300] Revise add block menu Created: 29/Dec/20  Updated: 29/Dec/20  Resolved: 29/Dec/20

Status: Closed
Project: Content Editor
Component/s: None
Affects Version/s: None
Fix Version/s: None

Type: Task Priority: Neutral
Reporter: Lam Nguyen Bao Assignee: Unassigned
Resolution: Declined Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Template:
Acceptance criteria:
Empty
Task DoR:
Empty
Epic Link: Stories App Migration

 Description   

There're issues related to positioning with the build in Vaadin menubar (actually problems are coming from popup, also happens with context menu, tooltip):

  • The submenu floats when scrolling or resizing window. (expect it will stick to the component/button which open menu event is fired)

Root cause: 

  • The popup menu is generated and appended to the end of DOM, out of scrollable component. Did a research and saw that common problem with the vaadin popup

Possible solutions:

  • Use the Vaadin menubar and adapt with the common behaviors, e.g: close when scroll, showing position literally in the middle of menu. Issue with resize window can be file in another ticket, also file ticket to investigate/fix popup problem
  • Investigate to bring back the add block menu as legacy block and keep the old behaviors


 Comments   
Comment by Lam Nguyen Bao [ 29/Dec/20 ]

Adapt with current menu behavior

Generated at Mon Feb 12 00:19:03 CET 2024 using Jira 9.4.2#940002-sha1:46d1a51de284217efdcb32434eab47a99af2938b.