hms-react-native-plugin
hms-react-native-plugin copied to clipboard
HMS map can not work inside ScrollView
Description Hi everybody. When I put HMSMap inside ScrollView, I can not swipe Map
<ScrollView>
<HMSMap />
</ScrollView>
Any suggestion?
Hi @hienpvptit
As far as I understand you are trying to implement an Huawei Map Module to your ScrollView, but since the Map itself is a scrollable component it may conflict with scroll gestures of the application. You may add some margins to scroll the page and the map separately but this is highly dependent to your UI and use case. If you need to add an inline non-scrollable map instance you may use the Lite Mode, if it is not the case, please share a code block and the use case or an example for me to check the request in detail.