rc-dialog
Advanced tools
Comparing version 8.3.3 to 8.3.4
@@ -86,3 +86,5 @@ import _objectSpread from "@babel/runtime/helpers/esm/objectSpread2"; | ||
try { | ||
_this.lastOutSideFocusNode.focus(); | ||
_this.lastOutSideFocusNode.focus({ | ||
preventScroll: true | ||
}); | ||
} catch (e) { | ||
@@ -89,0 +91,0 @@ _this.lastOutSideFocusNode = null; |
# History | ||
---- | ||
## 8.3.4 (8.2.2, 8.1.2) / 2020-09-04 | ||
- fix: prevent scroll behavior when focus trigger. [ant-design/ant-design#26582](https://github.com/ant-design/ant-design/issues/26582) | ||
## 8.3.3 / 2020-09-02 | ||
- fix: page scroll position will jump after dialog is closed. [#202](https://github.com/react-component/dialog/pull/202) | ||
## 8.3.2 / 2020-09-02 | ||
@@ -5,0 +11,0 @@ - fix: remove typing from package.json. [#201](https://github.com/react-component/dialog/pull/201) |
@@ -107,3 +107,5 @@ "use strict"; | ||
try { | ||
_this.lastOutSideFocusNode.focus(); | ||
_this.lastOutSideFocusNode.focus({ | ||
preventScroll: true | ||
}); | ||
} catch (e) { | ||
@@ -110,0 +112,0 @@ _this.lastOutSideFocusNode = null; |
{ | ||
"name": "rc-dialog", | ||
"version": "8.3.3", | ||
"version": "8.3.4", | ||
"description": "dialog ui component for react", | ||
@@ -5,0 +5,0 @@ "keywords": [ |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
62501
1538