Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

HMS map can not work inside ScrollView #284

Open
hienpvptit opened this issue Jun 14, 2023 · 1 comment
Open

HMS map can not work inside ScrollView #284

hienpvptit opened this issue Jun 14, 2023 · 1 comment

Comments

@hienpvptit
Copy link

hienpvptit commented Jun 14, 2023

Description
Hi everybody. When I put HMSMap inside ScrollView, I can not swipe Map

<ScrollView>
    <HMSMap />
</ScrollView>

Any suggestion?

@ilsafarber
Copy link

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants