ianarawjo / ianarawjo/ChainForge
Fix mouse coord mismatch in `AceEditor` on zoom out
Open
bug
low priority
- Dominant language
- TypeScript
- Stars
- 3k
- Forks
- 256
- Avg merge
- 4h 40m
- Merged PRs (30d)
- 22
Description
ReactFlow's internal zooming function breaks the way `AceEditor` keeps track of cursor/mouse position.
To fix, one needs to project the mouse event coordinates into the current zoom level:
https://github.com/wbkd/react-flow/discussions/2977
This isn't a high priority issue because it can be fixed by just zooming back into 1x.
But, it is something that will likely come up again in other node types.
Contributor guide
No contributing guide indexed for this repository
Assessment
This issue has not been assessed yet.