Context menu of dashboard widgets overlays the drag handle #44
Reference in New Issue
Block a user
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Context menu of dashboard widgets (implemented with #27) overlays the drag handle. So widgets are not draggable anymore.
Fix ready for review: #45
Cause: the action menu's button kept its natural
vaadin-menu-bar-buttonwidth of 64px, twice the 32px corner slotstyles.csslays the controls out in. Appended after the grip at the samez-index, it covered the grip completely (grip 80–108px from the right edge, menu 48–112px) and took its pointer events. Sizing the button to 28px like the grip and the close button restores the slot math.Regression test:
WidgetActionMenuPlaywrightTest#draggingTheGrip_movesTheWidget— hit-tests the grip's centre, then drags the widget by it../mvnw testgreen (68 tests).