We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
If you implement onHover on a layer and also on the root deck, and then you return truthy in the layer it still calls onHover on the deck. https://github.com/uber/deck.gl/blob/master/docs/developer-guide/interactivity.md#behavior-of-built-in-event-handling says that this should not bubble when returning true.
https://codepen.io/lukemcgregor/pen/GRgWrEY
The text was updated successfully, but these errors were encountered:
Thanks for reporting. This is indeed a bug. Looks like instead of skipping the root onHover, it is called with an empty pickingInfo.
onHover
pickingInfo
Sorry, something went wrong.
Fixed in 7.3.11
Pessimistress
No branches or pull requests
Description
If you implement onHover on a layer and also on the root deck, and then you return truthy in the layer it still calls onHover on the deck. https://github.com/uber/deck.gl/blob/master/docs/developer-guide/interactivity.md#behavior-of-built-in-event-handling says that this should not bubble when returning true.
Repro Steps
https://codepen.io/lukemcgregor/pen/GRgWrEY
Environment (please complete the following information):
The text was updated successfully, but these errors were encountered: