Fix safe triangle bottom position.

Created on 21 April 2024, 12 months ago

Currently we have adapted safe triangles in first level of hover menu
Article about basic idea https://www.smashingmagazine.com/2023/08/better-context-menus-safe-trian...

so out triangle looks like

1st point user mouse
2nd point is left-top of popover
3rd point is now left and 66% of screen size.

We probably need to add some calculation of submenu size.

  /* TODO: Replace with calculated value of popover content height. */
  --safe-triangle-submenu-end-y: 66vh;

Help tip for debugging:
add background-color: green; in [data-toolbar-popover-safe-triangle] {} css

Feature request
Status

Active

Version

1.0

Component
Navigation 

Last updated about 2 hours ago

No maintainer
Created by

🇷🇸Serbia finnsky

Live updates comments and jobs are added and updated live.
Sign in to follow issues

Comments & Activities

Production build 0.71.5 2024