Using Popover and Tooltip together #1041
-
Hello 👋 I'm trying to use a Popover and a Tooltip in When navigating with tabs, the behavior is what I would expect when the tooltip content is focused: Any ideas of what's happening? I made a codesandbox and logged in Thanks! |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 4 replies
-
Hi @Wraithraiser, Thanks for raising this up. So it looks like we're going to have to change how we do this at some point. Interestingly though here, you're asking for something that most people are actually asking for the opposite. |
Beta Was this translation helpful? Give feedback.
Hi @Wraithraiser,
Thanks for raising this up.
It looks like it's potentially a duplicate of #937 whereby in this case, the popover is initially not positioned (whilst kept invisible) and then moved into position. This causes the internal detection of the tooltip trigger moving to fire.
So it looks like we're going to have to change how we do this at some point.
Interestingly though here, you're asking for something that most people are actually asking for the opposite.
ie. when the focus is not made by you (the user) people generally seem annoyed that the tooltip shows up.
How do you feel about it? Were you asking mostly because you expected it to show? Or because you genuinely want it to…