Socket
Socket
Sign inDemoInstall

react-aria-modal

Package Overview
Dependencies
57
Maintainers
1
Versions
44
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

Comparing version 2.2.0 to 2.2.1

4

CHANGELOG.md
# Changelog
## 2.2.1
- Fix `this` bug.
## 2.2.0

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

9

lib/Modal.js

@@ -46,9 +46,10 @@ var React = require('react');

componentDidMount: function() {
if (this.props.onEnter) {
this.props.onEnter();
var props = this.props;
if (props.onEnter) {
props.onEnter();
}
// Timeout to ensure this happens *after* focus has moved
setTimeout(function() {
if (this.props.applicationNode) {
this.props.applicationNode.setAttribute('aria-hidden', 'true');
if (props.applicationNode) {
props.applicationNode.setAttribute('aria-hidden', 'true');
}

@@ -55,0 +56,0 @@ }, 0);

{
"name": "react-aria-modal",
"version": "2.2.0",
"version": "2.2.1",
"description": "A fully accessible and flexible React modal built according WAI-ARIA Authoring Practices",

@@ -5,0 +5,0 @@ "main": "index.js",

@@ -82,2 +82,3 @@ # react-aria-modal

initialFocus='#demo-one-deactivate'
applicationNode={document.getElementById('my-application')}
>

@@ -84,0 +85,0 @@ <div className='modal-dialog'>

SocketSocket SOC 2 Logo

Product

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

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc