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
Notice that, upon mouseout events, the sel32_toggle goes to false no matter what, even if shiftKey is true. If I replace false on mouseout with event.shiftKey the example appears to behave more reasonably, but I'm not 100% sure this is the right solution, as I'm assuming this bug was introduced while trying to resolve some other issue?
In any case this is breaking the interaction notebook I wrote that is going to students later this week. I may simply have to rewrite the notebook to avoid the issue, but in any case I'm flagging this as a high priority bug so that it gets attention and we can decide what needs to be done.
The text was updated successfully, but these errors were encountered:
It appears I can add clear: false to suppress the error, though I'd prefer not to have to do this. I'm not sure why we are using mouseout to automatically clear mouseover interactions by default.
A temporary solution right now is to set clear: false in the Vega-Lite specification under sel32 in your specification example. This will return to the appropriate behavior.
It seems like the problem is because we append the following to on in _toggle.
However, this is needed for other examples, specifically: https://vega.github.io/vega-lite/examples/interactive_query_widgets.html. I'm not sure what the best way to resolve this bug is, one way is to flag it so that it doesn't automatically add mouseout upon seeing mouseover for _toggle. What do you think @arvind?
Consider this example multi-selection spec:
Looking at the generated Vega, the issue appears to stem from here:
Notice that, upon mouseout events, the
sel32_toggle
goes to false no matter what, even ifshiftKey
is true. If I replacefalse
on mouseout withevent.shiftKey
the example appears to behave more reasonably, but I'm not 100% sure this is the right solution, as I'm assuming this bug was introduced while trying to resolve some other issue?In any case this is breaking the interaction notebook I wrote that is going to students later this week. I may simply have to rewrite the notebook to avoid the issue, but in any case I'm flagging this as a high priority bug so that it gets attention and we can decide what needs to be done.
The text was updated successfully, but these errors were encountered: