body-scroll-lock icon indicating copy to clipboard operation
body-scroll-lock copied to clipboard

Does not work well with horizontal scroll in iOS Safari

Open Jokero opened this issue 7 years ago • 5 comments

When body scroll is locked, target element with horizontal scroll is scrolled very jerky, it's frozen at random moments. There is no such issue in Chrome. I tried with your demo, just changed the width of target element and its child.

Jokero avatar Nov 07 '18 20:11 Jokero

@Jokero how you fixed it? I have same problem.

alexpalchikovskiy avatar Jan 14 '19 12:01 alexpalchikovskiy

@alexpalchikovskiy No. In order to support horizontal scroll the library has to be patched

Jokero avatar Jan 14 '19 12:01 Jokero

Just ran into this as well… Has anyone successfully patched a version for horizontal scrolling in iOS?

gblakeman avatar May 15 '19 15:05 gblakeman

Also ran in to this, see willmcpo/body-scroll-lock#133

xanido avatar Sep 18 '19 23:09 xanido

Same problem here, @willmcpo can you fix it ?

Aarbel avatar Mar 25 '20 07:03 Aarbel