react-images
react-images copied to clipboard
Allow fullscreen but disable hotkeys
I've built a custom view that includes a form, however when typing f
in the input box fullscreen mode enables.
Would it be possible to either:
- allow configuration to disable hotkeys but still allow fullscreen mode via the button; or
- ideally, check the event target node type to ignore form inputs
Happy to work on a PR but would like a direction before starting.
I ran into this as well. As a workaround, I added an event.preventDefault()
in my input change handler, which prevented the F
from triggering fullscreen mode.