antvis/G6

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

  1. 鼠标移动到滑块上
  2. 观察滑块上的背景色变化

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


Hi @iahu, Please star this repo if you find it useful! Thanks :star:! 你好 @iahu。如果该仓库对你有用,可以 star 一下,感谢你的 :star:!

posted by github-actions[bot] over 1 year ago

4.8.23 发布了你贡献的代码,感谢~

posted by Yanyan-Wang over 1 year ago

Fund this Issue

$0.00
Funded

Pull requests