You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I'm trying to implement popover as a bubble toolbar for rich text editor. When focussing RTE the Popover is opening and focus remains in RTE while editing and interacting with buttons inside popover. I need to put Dropdown inside Popover to group buttons. Here comes the problem with focusing. Every time I trigger Dropdown to open, focus moves to Dropdown, RTE loses focus and everything (Popover and Dropdown) closes immediately.
How to prevent moving focus to Dropdown when opening it?
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
-
I'm trying to implement popover as a bubble toolbar for rich text editor. When focussing RTE the Popover is opening and focus remains in RTE while editing and interacting with buttons inside popover. I need to put Dropdown inside Popover to group buttons. Here comes the problem with focusing. Every time I trigger Dropdown to open, focus moves to Dropdown, RTE loses focus and everything (Popover and Dropdown) closes immediately.
How to prevent moving focus to Dropdown when opening it?
Code example:
Beta Was this translation helpful? Give feedback.
All reactions