Skip to content

Commit

Permalink
fix: Editable not calling decorate as it should (#5346)
Browse files Browse the repository at this point in the history
  • Loading branch information
edhager committed Mar 8, 2023
1 parent f7f02a8 commit a5e833f
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 1 deletion.
5 changes: 5 additions & 0 deletions .changeset/dry-bugs-protect.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
'slate-react': patch
---

Fix a problem with Editable not calling the decorate function passed as a prop when it should.
Original file line number Diff line number Diff line change
Expand Up @@ -704,7 +704,7 @@ export function createAndroidInputManager({
insertPositionHint = false
}

if (pathChanged || !hasPendingDiffs()) {
if (pathChanged || hasPendingDiffs()) {
flushTimeoutId = setTimeout(flush, FLUSH_DELAY)
}
}
Expand Down

0 comments on commit a5e833f

Please sign in to comment.