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. -
de9aeaaThanks
@segunadebayo! - Fix popups dismissing themselves right after opening when their
content is kept mounted while closed and re-parented on open. The layer captured the element that was about to be
detached, so interactions inside the live content counted as outside clicks.defer: truenow always waits for the framework to commit, instead of resolving synchronously when an element happens
to already be there. -
Updated dependencies []:
- @zag-js/types@1.44.0