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

react-aria-modal

Package Overview
Dependencies
Maintainers
2
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 Compare versions

Comparing version 2.12.1 to 2.12.2

4

CHANGELOG.md
# Changelog
## 2.12.2
- Fix bug causing Escape to break the focus trap, without closing the modal, when you use `escapeExits={false}`.
## 2.12.1

@@ -4,0 +8,0 @@

@@ -222,2 +222,3 @@ 'use strict';

}
focusTrapOptions.escapeDeactivates = props.escapeExits;

@@ -224,0 +225,0 @@ return React.createElement(FocusTrap, {

2

package.json
{
"name": "react-aria-modal",
"version": "2.12.1",
"version": "2.12.2",
"description": "A fully accessible and flexible React modal built according WAI-ARIA Authoring Practices",

@@ -5,0 +5,0 @@ "main": "dist/react-aria-modal.js",

@@ -5,3 +5,3 @@ # react-aria-modal

This module provides a "smart" minimally styled component to wrap you "dumb" fully styled component. It provides the following features, while giving you complete control of the content:
This module provides a minimally styled "[container](https://medium.com/@dan_abramov/smart-and-dumb-components-7ca2f9a7c7d0)" component to wrap your fully-styled "presentational" component. It provides the following features, while giving you complete control of the content:

@@ -8,0 +8,0 @@ - Focus is trapped within the modal: Tab and Shift+Tab will cycle through the modal's focusable nodes

@@ -43,3 +43,3 @@ const React = require('react');

}
if (this.props.scrollDisabled) {

@@ -216,2 +216,3 @@ noScroll.on();

}
focusTrapOptions.escapeDeactivates = props.escapeExits;

@@ -218,0 +219,0 @@ return React.createElement(FocusTrap,

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