Closed peterkxie closed 3 years ago
It is weird because we have overscroll-behavior: none on the
element of index.html. I thought this was an overscroll behaviorI think linear-genome-view plugin does it's best to handle this with event.preventDefault but any other behavior should be in jbrowse-web relating to overscroll or something similar
could try overscroll-behavior-x: contain;
or even
overscroll-behavior: contain
instead of overscroll-behavior: none? ref https://stackoverflow.com/a/60385432/2129219
I've tried the following and failed
overscroll-behavior-x: none overscroll-behavior-x: contain overscroll-behavior: contain
here's what it looks like in my safari inspect element, maybe something is overriding it?
edit: error is unsupported property name, that's probably the issue
come on safari team
On some level, this is the operating system behavior that they designed. Do we really see this particular behavior as problematic?
imo I think it's not as big of a deal as the track container scroll that's fixed. I think its less likely that people try to scroll horizontally on the main page outside of a container since evreything is in view already
Found this during pairing with @elliothershberg while testing the scrolling fix of #1360
Scrolling inside a track is fixed, but scrolling outside still does the unwanted behavior of going back or forward
Back action about to be triggered:
Forward action about to be triggered: