[v2] keydown events bubble up too far
Some keydown events seem to bubble up too far. One particular example is the docs search combobox. When pressing escape, the event bubbles up all the way. When rendering GraphiQL inside a dialog, this will cause the dialog to close (see example video).
https://user-images.githubusercontent.com/22288634/184151248-8ccb5290-da61-4e03-86b4-fc5fc31e1caa.mp4
I love to see you proofing it and finding these edge cases! Your attention to detail has been a blessing to this project!
To be fair, a user reported this after we launched our new dashboard this week, so I didn't discover it on my own 😅
Just released the fix for this in [email protected] and @graphiql/[email protected]