qwik
qwik copied to clipboard
fix: default ctrl + k search event.
What is it?
- [ ] Feature / enhancement
- [x] Bug
- [ ] Docs / tests
Description
on CTRL + K
it should prevent default browser event and open the search box.
Use cases and why
Actual Behavior:
Expected Behavior:
Checklist:
- [x] My code follows the developer guidelines of this project
- [x] I have performed a self-review of my own code
- [x] I have made corresponding changes to the documentation
- [ ] Added new tests to cover the fix / functionality
Run & review this pull request in StackBlitz Codeflow.
Only thing that bugging me is that it will load JavaScript of useClientEffect on initial load.
What would Qwik need to have to implement this without client effect?
I used the preventdefault:keydown
and onKeyDown$
in div
, it was preventing every keydown event
except for CTRL + K
in current window.
Hi @the-r3aper7 👋 I am scanning some open PRs atm and it looks like this issue was already resolved in the meantime. Can you confirm that? Thanks again for your time to create this PR 🙏