You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
These methods along with setSelection([]) behave incorrectly when the user has clicked a cluster. These methods check for (this.selection && this.selection.index !== undefined) but if the most recent click was on a cluster, selection looks like {cluster: 0} which doesn't pass that condition.
This leads isSelected(clusterIndex) to return false and setSelection([]) and unselectItem([]) to be a no-op and the next time the user calls getSelection() it will return the cluster again. The current workaround is to set timeline.selection.index to a value, but that definitely isn't intuitive.
The text was updated successfully, but these errors were encountered:
These methods along with
setSelection([])
behave incorrectly when the user has clicked a cluster. These methods check for(this.selection && this.selection.index !== undefined)
but if the most recent click was on a cluster, selection looks like{cluster: 0}
which doesn't pass that condition.This leads
isSelected(clusterIndex)
to return false andsetSelection([])
andunselectItem([])
to be a no-op and the next time the user callsgetSelection()
it will return the cluster again. The current workaround is to settimeline.selection.index
to a value, but that definitely isn't intuitive.The text was updated successfully, but these errors were encountered: