-
Notifications
You must be signed in to change notification settings - Fork 2.1k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Events refactor followups #656
Comments
|
Probably, yes -- don't see any reason anything in EventManager needs to (or can be expected to) work on the server. Also, for reference: hammerjs/hammer.js#930 |
See also:
|
There is a bug with
This causes picking to be triggered multiple times each frame during drag. EDIT: This has been fixed by #667 |
#693) * Ensure multiple handlers can coexist for an aliased event, and can be removed independently. (#656) * Fix lint (max-depth). * Don't store unnecessary refs to handlers, since Hammer is already caching them. However, since Hammer doesn't have an API for determining if there are handlers registered for a given event, we must still keep track of whether or not aliased handlers are registered. * Address comments. * Fix lint
visgl#693) * Ensure multiple handlers can coexist for an aliased event, and can be removed independently. (visgl#656) * Fix lint (max-depth). * Don't store unnecessary refs to handlers, since Hammer is already caching them. However, since Hammer doesn't have an API for determining if there are handlers registered for a given event, we must still keep track of whether or not aliased handlers are registered. * Address comments. * Fix lint
#693) * Ensure multiple handlers can coexist for an aliased event, and can be removed independently. (#656) * Fix lint (max-depth). * Don't store unnecessary refs to handlers, since Hammer is already caching them. However, since Hammer doesn't have an API for determining if there are handlers registered for a given event, we must still keep track of whether or not aliased handlers are registered. * Address comments. * Fix lint
@Pessimistress can you do a pass on the remaining items listed in this issue tracker? |
event handling is moved to mjolnir.js, let's track it there if needed. |
This issue tracks followups to the event handling refactor:
'click'
for the foreseeable future) can exist at a time. Local state should be expanded to support an array of handlers against each aliased event. (Ensure multiple handlers can coexist for an aliased event, and can be… #693)Once landed, the following events-related work remains:
deckgl.js
React wrapper intolayer-manager
so that non-React deck.gl consumers get event handling out of the box. (Move event management from deckgl.js React component into LayerManager. #738)draw-and-pick.js
intolayer-manager.js
event handlers added in Move event management from deckgl.js React component into LayerManager. #738passive
event warnings in Chrome.The text was updated successfully, but these errors were encountered: