Open menu on left click at X,Y coordinates, only when state is set to true. #2723
-
So I have a chart where I can't wrap each bar with the Trigger Component. I can use the Dropdown Menu component like this.
However, assigning a location like this defeats the purpose, as the menu content cannot be adjusted when there is no room at the bottom or right. I want a menu to open with a left click, but it should also adapt its position if there is no room on the right, top, left, or bottom. Is there a way I can open the menu without it being cut? |
Beta Was this translation helpful? Give feedback.
Answered by
benoitgrelard
Mar 4, 2024
Replies: 1 comment 2 replies
-
Do you have a sandbox showing what you are trying to achieve? |
Beta Was this translation helpful? Give feedback.
2 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Closing as duplicate of #2726