[Bug] The zoom function in the toolbox area is not working properly
- Dominant language
- TypeScript
- Stars
- 67.3k
- Forks
- 19.8k
- Avg merge
- 11d 14h
- Merged PRs (30d)
- 8
Description
### Version
6.1.0
### Link to Minimal Reproduction
https://echarts.apache.org/examples/zh/editor.html?c=line-smooth&code=dVA9T8MwEN37K27zkiEfDDSIoQsSAxNISFQZDD0SS0muss8lEep_5-zEaiXAwz3fu3cfenRkQyPcw_cGgIn6d5rqmAC4jr5qYOsxi_knavYWUxngoFm_EQ0X5neTvBXPibDomOKcK_Wl7PQJd-5x0O0_khWsaTuuocxDGrlpNxmXjuH5KP3qQzO2ZGe1NIWTa9irJxpVBurFY4BXPMSs8wEerAnwrDmCH1WTNsx_bDjpXqYkhUNrUCT7KLl2SrhbORa2VSkhL8LvJoOi3ApZVFWMZd4kH9bxvRnlxuTNQMTdYsfihcRmc777AQ&enc=deflate
### Steps to Reproduce
1. Click on the "toolbox" area to zoom in, and select the area you want to enlarge. The behavior is normal at this point.
2. Click "Restore" in the toolbox area.
3. Click on the "toolbox" area to zoom in again, and select the area that was zoomed in on the first time. It's blank, which is abnormal.
### Current Behavior
The zoom function in the area is not working properly, and it cannot be zoomed in normally.
[video](https://gcore.jsdelivr.net/gh/liuzi6612/public@gh-pages/temp/8c0e3907-4133-4b75-9756-a29d813bc746.mov)
### Expected Behavior
It should always be consistent with the behavior of the first zoom.
### Environment
```markdown
- OS: Mac
- Browser: Chrome
- Framework:
```
### Any additional comments?
_No response_
Contributor guide
Research direction
Start with the linked minimal reproduction and repeat the toolbox zoom, Restore, and second zoom sequence in the reported Chrome environment. Trace the toolbox zoom and restore behavior until the second selection matches the first; done means zooming remains consistent after restoring.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- typescript
- Domain
- data-visualization
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Quiet
- Clarity
- Mostly clear
- Newbie friendliness
- 55/100