react-native-web icon indicating copy to clipboard operation
react-native-web copied to clipboard

Safari Browser: Wiggling/Shaking of ScrollView

Open SmartArray opened this issue 4 years ago • 1 comments

The problem On Safari, scrolling out of the bounds causes weird wiggling/shaking of the inner view. I suppose this has to do with the debouncing that Safari allows, but some React code doesn't seem to like negative values?

wiggle

How to reproduce

Steps to reproduce:

  1. Open Safari on Mac OS
  2. Navigate to the official example: https://4q5nn.sse.codesandbox.io/scroll-view
  3. Scroll out of bounds

Expected behavior No wiggling.

Environment (include versions). Did this work in previous versions? See official example.

I would be willing to fix this issue if someone points me into the right direction! ☺️

SmartArray avatar May 30 '21 04:05 SmartArray

Thanks. You can take a look through the ScrollView code if you want to try putting a patch together.

necolas avatar Jun 03 '21 22:06 necolas