Skip to content

v1.0.1

Latest

Choose a tag to compare

@akuzko akuzko released this 19 Feb 13:16

Fixed

  • Cursor position preservation in text inputs - Removed microtask batching in favor of synchronous React state updates. Previously, the useSlice and useForm hooks queued state updates using queueMicrotask, which caused a delay between input change events and React state updates. This delay broke React's controlled component contract, causing the cursor to jump to the end of the input when editing text in the middle. Now updates are applied synchronously, maintaining proper cursor position during editing.

Changed

  • Documentation updates - Updated all documentation to reflect synchronous update behavior instead of microtask batching terminology.