Popup里面的内容有滚动条的时候不触发滚动
Open
- Dominant language
- TypeScript
- Stars
- 4.1k
- Forks
- 656
- PR merge metrics
- No merged PRs in 30d
Description
Popup 包裹了一个Vue组件写的内容,这个组件有滚动条,当鼠标放到Popup上滚动鼠标的时候触发的却是地图的zoom滚动,
当使用
this.scene.map.setStatus({
zoomEnable: false
})
方法禁用了zoom滚动后 地图不滚动了,但我鼠标放到Popup上滚动鼠标还是不触发Popupn内容的滚动
Contributor guide
Research direction
Start by reproducing the issue with a Popup containing a scrollable Vue component, then inspect the Popup and map wheel-event handling around scene.map.setStatus({ zoomEnable: false }). Done means wheel input over the Popup scrolls its content without zooming the map, while map scrolling still works elsewhere.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- typescript
- Domain
- frontend
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100