Skip to content

Commit 8684071

Browse files
committed
add tip about safary scrolling
1 parent a298ee9 commit 8684071

1 file changed

Lines changed: 8 additions & 0 deletions

File tree

README.md

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -65,6 +65,14 @@ In case you need to lock only scroll
6565
- https://codesandbox.io/s/l7nrkv1rnq - simple Locky
6666
- https://codesandbox.io/s/k55641yx6o - a bit more complex
6767

68+
# Tip
69+
__important__ tip for __Mobile Safary__ - while normal "touch move" will
70+
scroll "scrollable" container, touch+move started on inputs will start
71+
__drag-n-drop__ and cause whole layer(modal/page) scroll.
72+
(it will just scroll as a 💩, or not scroll at all).
73+
74+
To disable this behavior - apply ` -webkit-overflow-scrolling: touch;` on the page.
75+
6876
# Other usages
6977

7078
Just track clicks outside your element

0 commit comments

Comments
 (0)