Stop left-menu swipe when scrolling code block/snippet
Stop left-menu swipe when scrolling code block/snippet
Fix https://gitlab.com/gitlab-org/gitter/webapp/-/issues/2228
Before | After |
---|---|
Because code blocks can take over the whole screen, you can still swipe out the left-menu if the code block is at the beginning:
Testing strategy
- Enter a code block that has some horizontal scroll on mobile
- Scroll the code block over a bit
- Then try to scroll back. Notice how the left-menu does not swipe out as well. The left-menu will swipe out if the code block is at the beginning of it's scroll.
Edited by Eric Eastwood