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
Currently I use onCloseAutoFocus={(e) => e.preventDefault()} in almost every case where I use a radix component with the tooltip component (e.g. dropdown). This seems to be required to avoid the tooltip being shown after I click an item inside the dropdown, as the trigger receives the focus on close.
Is there any way to disable that autofocus behaviour globally?
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
-
Currently I use
onCloseAutoFocus={(e) => e.preventDefault()}
in almost every case where I use a radix component with the tooltip component (e.g. dropdown). This seems to be required to avoid the tooltip being shown after I click an item inside the dropdown, as the trigger receives the focus on close.Is there any way to disable that autofocus behaviour globally?
Beta Was this translation helpful? Give feedback.
All reactions