[ad_1]
I do iOS and Android growth with React Native. I take advantage of ScrollView as a result of there are too many elements on the web page I am engaged on. And all my elements are inside this ScrollView.
package deal.json
"react": "17.0.2"
"react-native": "0.67.2"
"react-native-maps": "^0.30.1"
One in every of these elements is the part. I’ve not encountered such an issue whereas engaged on Android. However after I change to the iOS facet, after I scroll on the web page, it mechanically throws me down or up in accordance with the motion I make. There is no such thing as a easy scrolling. The web page jumps up or down rapidly. As well as, there are ScrollViews with horizontal scrolling inside this web page. In the identical manner, they soar to the underside, the highest or a sure distance. The identical factor occurs after I wish to navigate within the map part. Nonetheless, even when I block all accesses inside the MapView, these jumps nonetheless happen.
<MapView
pointerEvents="none"
zoomEnabled={false}
scrollEnabled={false}
pitchEnabled={false}
rotateEnabled={false}
supplier={MapView.PROVIDER_GOOGLE}
...
<MapView>
I simply name the MapView part and put the mandatory lng lat values ​​in it.
Simply to make certain, I deleted the MapView part from the web page and all the things labored accurately. I by no means understood what to do.
Take a look at Video: https://gifyu.com/picture/SLqw7
[ad_2]
