Skip to content

@zag-js/focus-visible@1.46.0

Choose a tag to compare

@github-actions github-actions released this 11 Oct 18:42
· 2 commits to main since this release
35a1e86

Patch Changes

  • #3396
    0afddfa Thanks
    @BleedingDev! - Keep HTMLElement.prototype.focus writable when patching and
    restoring it. When another tool had already defined focus as an accessor (for example Storybook's preview), the
    redefined method became read-only, so later assignments (such as react-aria restoring focus on beforeunload) threw
    Cannot assign to read only property 'focus'.
  • Updated dependencies []:
    • @zag-js/dom-query@1.46.0