Closed alexandersimoes closed 5 years ago
I noticed this problem from the start, but it's a weird default behavior of blueprint I can't find how to disable. I found other issues with the same problem, so I'll try their solutions.
Great that you're aware! Just want to keep it here so it's documented.
On Mon, Jul 1, 2019 at 1:31 PM Francisco notifications@github.com wrote:
I noticed this problem from the start, but it's a weird default behavior of blueprint I can't find how to disable. I found other issues with the same problem, so I'll try their solutions.
— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/Datawheel/tesseract-ui/issues/3?email_source=notifications&email_token=AAB5S5DXA7S45ANSNJXQ6UTP5I5QDA5CNFSM4H4T6O52YY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGODY62JCY#issuecomment-507356299, or mute the thread https://github.com/notifications/unsubscribe-auth/AAB5S5D3CXD6YIS6ETL5SRTP5I5QDANCNFSM4H4T6O5Q .
the cause is a known bug that automatically focuses the first focuseable thing in the Popover content
the fix was included in the middleware update, basically consists in setting autofocus={false}
on the Popover components
Clicking on whichever is the top option clears the menu on first click and then actually selects the item on the second click.