explorable-viz / fluid

Data-linked visualisations
http://f.luid.org
MIT License
32 stars 1 forks source link

Transient selection state triggered by `mouseenter`/`mouseleave` #980

Closed rolyp closed 1 month ago

rolyp commented 1 month ago

Now that the UI is responsive enough, we should switch to enabling selection based on mouseenter, which is a blocker for some important interaction features (see below). This may require significant redesign on on the JavaScript/HTML side as my earlier experiment with this didn’t seem to work well – I think the issue what that the root div is rebuilt every time the selection state changes, and when an element is rebuild under the mouse, it re-triggers mouseenter. But more investigation required.

Related issues:

Related StackOverflow questions:

Done/dropped: