Open davay42 opened 4 years ago
It can be useful to slide through the triggers with one mouse move or touch. And so they should be activated on enter and turned off on exit.
It's easily done for mouse, but includes some math for touch events. There's only touchmove and we need to check it against element rect size... Not very complex, but needs some attention to be implemented correctly
It can be useful to slide through the triggers with one mouse move or touch. And so they should be activated on enter and turned off on exit.