InfoWindow 设置offset时,第一次点击出现后,,再次点击多次,位置与第一次不一致
Open
bug
- Dominant language
- JavaScript
- Stars
- 1k
- Forks
- 148
- PR merge metrics
- No merged PRs in 30d
Description
### react-amap version
1.2.2
### OS/Browers version
### Reproduction Link
https://codepen.io/giggle/pen/jzOpRB
### Steps to reproduce
### What is Expected?
### What is actually happening?
第一次点击时, `amap-info`对应的子div的`bottom`是`0`, 后续都是offset数组中的的第二个值。
我在高德地图示例中心 用setOffset()测试过,不是原生的问题。自己也封装过信息窗体,也不会出现类似的情况。问题感觉是在源码上,找了好久没找到。
Contributor guide
No contributing guide indexed for this repository
Assessment
This issue has not been assessed yet.