Skip to content
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

[Bug] maxSpan cannot restrict the span selected via brush #20807

Open
mortalYoung opened this issue Mar 6, 2025 · 0 comments · May be fixed by #20814
Open

[Bug] maxSpan cannot restrict the span selected via brush #20807

mortalYoung opened this issue Mar 6, 2025 · 0 comments · May be fixed by #20814
Labels
bug en This issue is in English topic: dataZoom

Comments

@mortalYoung
Copy link

Version

latest

Link to Minimal Reproduction

https://echarts.apache.org/examples/en/editor.html?c=area-simple&code=DYUwLgBARghgziCBeCBqAdiA7hAIjMEACgEYBOANgA4AaCMugZgEoBuAKFEgHtN8BPZBABMAFggAqCIwoAGWZIgl5sjlwgATAohQBtALprwmgjCG6AsgQAWAOgBOMdBu4BbIs0WN5h9gDNuewgidQBLIRJWCHCAHhEVVWjUVE8Ab3YICAA3GCD0bhwUTBx8QiIiWAQ0FF4QAWY2DJNCWwAHAFc4ayJdfKxbAHNwADF24GAATRBcjzo-wfALXjBuz1QlOYKFsFLiZn1bACtuUPQiAHIAenOGjkytMBg2zu6rFYdududyt7tHZzcHggAFoILJbABWTxSYQKdYPGC6cKgkj6W7sAC-7G4rTAoV4QnSmTA3G4wDxrQAXBAiZkIGB7KEBkN7NTzjAAB6hODnGhNTKtbhwUJ43jUvxfADGovQwVxaX5dPs4Ha9llulxulk-jo52UAFJzr46RAsZkMXziSLQNTaZlQH4wGzJSB0IR7LzFYQOU6IOcADK5IYQACCyrMAGFrLkwOcmhamhyQ1y4LavfxWiBndoBoF-J6TVBPs5cvwAOIwKkQPwwYAIS10hHUh4geMN_jJ7lpk1gDNZv05YDtEAFulFr5aezlyvUrW65SyQ36NtNBEALVJrlnirtdMul3pfbZp2FGhHDZNcEe9l9sgvdNdGmpynvmVcpwAyq0nNSIa-IK4nJfj-SiyIqCYmruxJHn6J6hGeo6Xtet7_o-z53oqb6ft-6C_v-gEcsBuGgeBTQ6k0CCMiAqYQLoO6YRA6AwK4_bnMMMAANaIKUMCIXSvaZmywCnOeDFwPwrhFsAbL5JgfGZHAzGtMJ6ADEJYBgFA8nRIQrgfr2No0gxmSSmSgRsvYAxQEQwgQn-EAAOx3kojAkMwcYmua_65NM-n8IZUF0qZwDmYx2AQCAkrRjecCDI4rTWKEkq2P6Im5GWjgaKErpgEQzn5XQJB0HRnmeYFpXcH4fgIChxmecFoXnJZ1m2fZJAQrQEDUO5dVeb1RmlRVVU1c-_6lQ1rJ-s1Nl2XQTmFa5PWDXSZqDWiDEQZ5TbNDApGZMuGKsEAA

Steps to Reproduce

  1. set maxSpan for dataZoom
  2. drag via handler or click the brush both works
  3. brushSelect not works with maxSpan

Current Behavior

brush could selected without restrict

Expected Behavior

brush could select with restrict

Environment

- OS: MacOS
- Browser: Chrome
- Framework: React

Any additional comments?

No response

@mortalYoung mortalYoung added the bug label Mar 6, 2025
@echarts-bot echarts-bot bot added en This issue is in English pending We are not sure about whether this is a bug/new feature. labels Mar 6, 2025
@mortalYoung mortalYoung linked a pull request Mar 10, 2025 that will close this issue
8 tasks
@Ovilia Ovilia added topic: dataZoom and removed pending We are not sure about whether this is a bug/new feature. labels Mar 11, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug en This issue is in English topic: dataZoom
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants