Skip to content

Commit

Permalink
Fix onHover/tooltip flickering (#4685)
Browse files Browse the repository at this point in the history
  • Loading branch information
Pessimistress committed Jun 18, 2020
1 parent 8af69dc commit 4e69833
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion modules/core/src/lib/deck.js
Original file line number Diff line number Diff line change
Expand Up @@ -530,7 +530,7 @@ export default class Deck {
if (_pickRequest.event) {
// Perform picking
const {result, emptyInfo} = this._pick('pickObject', 'pickObject Time', _pickRequest);
const pickedInfo = result[0] || emptyInfo;
const pickedInfo = result.find(info => info.picked) || emptyInfo;

// Update tooltip
if (this.props.getTooltip) {
Expand Down

0 comments on commit 4e69833

Please sign in to comment.