Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
This fixes a regression introduced via a6dfc16. The prior change switched to `onKeyDown`, which is an synthetic event handler that cannot prevent default (on global clicks). What we need to prevent default (global) clicks is actual DOM event handling. Quoting from the Inferno documentation [1]: > Lower case events will bypass Inferno's event system in favour of > using the native event system supplied by the browser. [1]: https://www.infernojs.org/docs/guides/event-handling
- Loading branch information