antvis/G6


The issue has been closed
TimeBar simple 类型下 Handler 高亮颜色默认为空,导致 `mouseenter` 事件穿透到下层元素 #5049
iahu posted onGitHub
Describe the bug
TimeBar simple 类型下 Handler 高亮颜色默认为空,导致 mouseenter
事件穿透到下层 foreground
元素,从而导致 Handler 的悬停状态未被正确捕获。
Your Example Website or App
https://codesandbox.io/s/confident-ully-fc2xgc?file=/src/App.js
Steps to Reproduce the Bug or Issue
- 鼠标移动到滑块上
- 观察滑块上的背景色变化
Expected behavior
正确设置背景色,从而事件不穿透。
Screenshots or Videos
No response
Platform
- OS: [e.g. macOS, Windows, Linux]
- Browser: [e.g. Chrome, Safari, Firefox]
- Version: [e.g. 91.1]
Additional context
No response