I want to detect when user is doing a horizontal scroll on a mobile, namely when a button disappears from screen when scrolled laterally (transparent column sort buttons on table headers, the table being too large to fit on a mobile screen without lateral scrolling).
But it seems not to work.
I'm using the button property panel, onViewportLeave event handler, but no effect when scrolling the button out of view laterally.
During testing, I discovered that onViewportLeave / Enter work well on vertical scrolls...
Is it a matter of mobile screen size detection or is it simply not working for horizontal scrolls ?