Patch Changes
-
2668edcThanks
@segunadebayo! - AddgetCaretPosition, which measures the caret position in an
input or textarea, returning{ left, top, height }relative to the element's bounding client rect. Useful for
anchoring a popup (e.g. a mention menu) to the caret. -
#3252
06ddeb3Thanks
@github-actions! - - Fixed issue whereinitialFocusElrejectednull,
despite it being handled at runtime. Ondialoganddrawerit was listed as a prop with a default, which stripped
null | undefinedfrom its public type.- Fixed issue where
Portal'scontainerrejected theRefObject<T | null>that React 19'suseRef<T>(null)
returns.
- Fixed issue where
-
#3304
2859ef6Thanks
@segunadebayo! - Forward arguments from the cleanupwhenNodereturns to the
cleanupfnreturned, so callers can pass teardown intent through. Existing calls are unchanged. -
Updated dependencies [
6d57458,
e8b99d2]:- @zag-js/types@2.0.0-next.2