Skip to content

v1.2.1

Latest

Choose a tag to compare

@ChrisUser ChrisUser released this 01 May 10:19
f575edc

Fixed

  • onChange now fires reliably for every content mutation, including paste, undo/redo (Ctrl+Z / Ctrl+Y), Ctrl+Backspace clear, and the imperative clearContent() handler. Previously these paths could update the DOM without notifying the consumer.
  • updatedContent no longer triggers redundant state updates or DOM writes when the incoming value matches the current content, avoiding unnecessary re-renders and caret jumps.

Thanks to @BigDaddySigma for the bug report!

Full Changelog: v1.2.0...v1.2.1