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
If I have a dropdown in my header with a link in it it will disappear on hover just after first load the page—but only in develop mode. It works fine if there is just text content with no link components in the dropdown. Probably has something to do with the initial state of isOpen being handled differently in develop mode.
Here's a quick screen recording of the issue:
The text was updated successfully, but these errors were encountered:
I noticed that only hovering over a <Link> whose route is not the current page will cause the issue. Also, if you try opening the dropdown again and hover over that same link again, it will not disappear (unless you hover any other links that aren't routing to the current page and haven't been hovered over once yet). I don't quite get how that would cause the whole parent component to re-render (with the isOpen set to its initial state of false), but I hope that helps!
If I have a dropdown in my header with a link in it it will disappear on hover just after first load the page—but only in develop mode. It works fine if there is just text content with no link components in the dropdown. Probably has something to do with the initial state of
isOpen
being handled differently in develop mode.Here's a quick screen recording of the issue:
The text was updated successfully, but these errors were encountered: