handler callbacks not returning the event value and focus issue
Closed this issue · 2 comments
Hi @Etto91 , great work on this helpful utility component.
I noticed that when using keyboard arrow keys, the event isn't returned and is only available when scrolling (refer to image)
first log was from scrolling
2nd one was from arrow keys
Also another thing to point out is that whenever I'm already focusing on components outside your utility (somewhere on the yellowed section) and pressing the arrow keys, the event still being fired when the expected behavior is shouldn't because I'm no longer focusing on the scrolling section (which is on the left section).
I checked the code and found the potential lines why it's happening, cloned it locally and it seems it's working as expected after doing the necessary changes. I tried submitting a PR but seems like I can't push my code into your repo under different branch name, haven't tried submitting PR before anyways.
hi @vmc08,
i will check meanwhile check this https://jarv.is/notes/how-to-pull-request-fork-github/ and try to make a pr :)