Skip to content

[Bug]: brush:end 事件在柱状图下返回了错误的 selection #6751

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

Open
2 of 10 tasks
moayuisuda opened this issue Apr 8, 2025 · 2 comments
Open
2 of 10 tasks
Labels
bug 🐛 Something isn't working

Comments

@moayuisuda
Copy link
Collaborator

Describe the bug / 问题描述

柱状图在 brush:end 事件中,会返回 x 区域内所有元素,而不是实际选择的元素
Image
Image

Reproduction link / 复现链接

https://stackblitz.com/edit/react-chvm779o-1mbpckw7?file=src%2Findex.js

Steps to Reproduce the Bug or Issue / 重现步骤

No response

Version / 版本

🆕 5.x

OS / 操作系统

  • macOS
  • Windows
  • Linux
  • Others / 其他

Browser / 浏览器

  • Chrome
  • Edge
  • Firefox
  • Safari (Limited support / 有限支持)
  • IE (Nonsupport / 不支持)
  • Others / 其他
@moayuisuda moayuisuda added the waiting for maintainer Triage or intervention needed from a maintainer label Apr 8, 2025
@interstellarmt interstellarmt added bug 🐛 Something isn't working and removed waiting for maintainer Triage or intervention needed from a maintainer labels Apr 8, 2025
@interstellarmt
Copy link
Contributor

这里拿到selection后续的业务逻辑是什么

@moayuisuda
Copy link
Collaborator Author

答疑遇到的,他们要拿到这个选中值,渲染到一个头部的 header 里,强调展示当前选中的项

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug 🐛 Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants