Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

react-aria-modal

Package Overview
Dependencies
Maintainers
3
Versions
44
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

react-aria-modal - npm Package Versions

2345

5.0.2

Diff

Changelog

Source

5.0.2

  • s/prepublish/prepublishOnly
tristen
published 5.0.1 •

Changelog

Source

5.0.1

  • Fix Displaced component crash
tristen
published 5.0.0 •

Changelog

Source

5.0.0

  • Remove react-displace package from dependencies
  • Update focus-trap-react package to v10.1.4
  • Add support for React 18
tristen
published 4.0.2 •

Changelog

Source

4.0.2

  • Update peer dependencies for React 17 (#127)
  • Changed cursor in dialogStyle to auto (#124)
  • Improve Documentation (#104)
tristen
published 4.0.1 •

Changelog

Source

4.0.1

  • Move componentWillMount content to constructor to avoid deprecation message.
  • Update @babel/preset-env to v7.15.0 to remove browserslist update message.
  • Update focus-trap-react package to v8.1.0.
davidtheclark
published 4.0.0 •

Changelog

Source

4.0.0

  • Update focus-trap (via focus-trap-react), which now includes better handling for nested focus traps (including nested modals).
  • Fix bug causing underlay click not to exit when clicked if scrollDisabled is set to false.
  • Allow escapeExits prop to be toggled while the component is mounted (i.e. without unmounting & remounting).
davidtheclark
published 3.1.0 •

Changelog

Source

3.1.0

  • onExit now receives the event that triggered it as its only argument, should you need to stop the event's propagation or treat it differently.
davidtheclark
published 3.0.1 •

Changelog

Source

3.0.1

  • Fix bug causing click on the scrollbar (visible because the modal vertically overflows the viewport) to close the modal.
davidtheclark
published 3.0.0 •

Changelog

Source

3.0.0

  • Update focus-trap (via focus-trap-react), which includes a couple of behavior changes. Probably this should not change behavior for your use case. The key change is that focus management has been adjusted so that you can include tricky focusable elements like radio groups, iframes, and shadow DOM components within your modal — as long as the first and last focusable elements in the modal can still be detected by Tabbable.
    • An effect of this change is that positive tabindexes within the modal might no longer work as expected. You should avoid positive tabindexes.
davidtheclark
published 2.12.3 •

Changelog

Source

2.12.3

  • Use onMouseDown instead of onClick to detect a tap on the underlay, which by default closes the modal. This fixes a bug where the modal would close if you click inside it then drag outside before releasing the mouse key.
SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc