7 ms·
I wonder if it's possible to catch horizontal touch events only. As it stands, the demo page is nearly impossible to scroll.
by disillusion 7y ago
I wonder if it's possible to catch horizontal touch events only. As it stands, the demo page is nearly impossible to scroll.
- dmitry_sfx 7y agoI don't have such problems. Which browser/device did you use?
- tyingq 7y agoThe ask is that swipe up/down on elements that only want left/right bubble those up/down events to the page so it scrolls. I believe it's not specific to any one device. Though it is more pronounced with a screen where the picture fills most of the screen. You currently have to find a border or space between the pictures to swipe on to scroll up or down.
- 52-6F-62 7y agoNot to take wind out from the sails of OP, but there are [edit: not CSS only, a couple bytes of inline JS] alternatives that remove some of that issue, and usage ambiguity by using an explicit slider (at the cost of some other features like zoom). https://picturepan2.github.io/spectre/experimentals/viewer-360.html https://picturepan2.github.io/spectre/experimentals/viewer-3...
- dmitry_sfx 7y agoshould be good in version 2.0.1 (demo page is updated)
- disillusion 7y agoCan confirm, works like a charm!