We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 6dd63d4 commit 5d35c80Copy full SHA for 5d35c80
.changeset/curly-icons-hear.md
@@ -0,0 +1,15 @@
1
+---
2
+"react-sketch-canvas": patch
3
4
+
5
+Fix undo/redo behavior:
6
+- Fix timing issues by moving history update logic into mouse-down/redo/undo/clear functions
7
+- Prevent extra strokes from being recorded during history updates
8
+- Fix bug where canvas couldn't undo to empty state
9
+- Improve loadPath function to properly handle history state
10
+- Add proper history handling when using loadPaths
11
+- Fix reset canvas history logic
12
+- Implement event queue for undo/redo operations
13
+- Fix order of operations in history management
14
+- Add tests for undo behavior after clear and with loadPaths
15
0 commit comments