-
Notifications
You must be signed in to change notification settings - Fork 3
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fixes bug in setTitle where the title for another chapter would change.
The issue is in onBlur. I *think* the issue is similar to lovasoa/react-contenteditable#161 where an outdated version is firing with the wrong chapterid. Bug can be repro-d by something like: 1. go to chapter A. 2. click into the title and copy. 3. don't blur, just go to another chapter. This should then cause a blur and cause a bug. If you save using Enter or cmd+s, this seems to not happen.
- Loading branch information
1 parent
7b60be6
commit 58d9bdc
Showing
2 changed files
with
34 additions
and
18 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters