-
Notifications
You must be signed in to change notification settings - Fork 4.8k
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
页面元素每次发生变化,Map组件都会初始化(Android 真机) #16134
Comments
taro-bot2
bot
added
F-react
Framework - React
T-weapp
Target - 编译到微信小程序
V-3
Version - 3.x
labels
Jul 21, 2024
把这个用 view 包一层就行了 |
This was referenced Jul 27, 2024
This was referenced Jul 27, 2024
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
相关平台
微信小程序
复现仓库
https://github.com/ChenAndKai/myApp.git
小程序基础库: 3.5.0
使用框架: React
复现步骤
1、运行项目,真机预览
2、滑动地图,缩放地图
3、点击按钮,显示(隐藏)文本
期望结果
地图不受干扰,保持不变
实际结果
地图重新初始化,缩放回到默认值,同时地图中心回到初始经纬度
环境信息
补充信息
除地图外元素的显示隐藏,都会导致地图的初始化
The text was updated successfully, but these errors were encountered: