Replies: 1 comment
-
I went further with this idea and ended up with pixi-events-x . This is much more mature realization that supports keyboard events, tab navigation and nested Asking again for the comments. |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hi there. I need focus events and since pixijs doesn't support them i went to write my own implementation.
See here: https://codesandbox.io/p/sandbox/pensive-bird-t3wkuf
It's just prototype without keyboard support.
Main idea behind is extend
EventSystem
andEventBoundary
to processfocus
,blur
,focusin
,focusout
events.Unfortunately, my approach isn't flexible enough. It can't be applyed with other independed "extensions".
Actually, i figured out
EventSystem
isn't flexible by itself. Maybe there is another recommended approach for adding custom events? Or any tips to do it better?Especially i wonder how pixijs devs see that process.
Beta Was this translation helpful? Give feedback.
All reactions