Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix: prevent pages from receiving KBarResults' keyboard events
When interacting with KBarResults, `UpArrow`, `DownArrow`, and `Enter` keyboard events propagate, and can be received by the webpage underneath it. This patch invokes `stopPropagation()` on the events, and converts their listeners from bubbling to capturing, to ensure priority event handling.
- Loading branch information
846b2c1
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Successfully deployed to the following URLs:
kbar – ./
kbar.vercel.app
kbar-timc.vercel.app
kbar-git-main-timc.vercel.app