dialog
dialog copied to clipboard
React Dialog
在React 18中第一次打开可以正确地从按钮位置展开弹出框,但是第二次之后则从错误的位置展开。 Ant Design的Modal也受到影响:[CodeSandbox](https://codesandbox.io/s/react-18-antd-modal-zhan-kai-wei-zhi-cuo-wu-xgcvj0?file=/index.js) 

fix a issue of Ant-Design -- Modal.method() not trigger focus after close. https://github.com/ant-design/ant-design/issues/32923
This fix is made to solve the reported issue "Accessibility error: ARIA hidden element must not contain focusable elements" https://github.com/react-component/dialog/issues/287
**Description:** The issue is that the div elements are focusable and have the attribute "aria-hidden="true" at the same time.   **Tools:** axe Devtools, Chrome **Proposed solution:** When the dialog...
bind ref to CSSMotion, avoid rc-motion call findDOMNode,need RC release new version about this [pr](https://github.com/react-component/motion/pull/17)
This is the referred [issue](https://github.com/ant-design/ant-design/issues/33917)
How about fixing the UUID by referring to NODE_ENV? In my test environment, import rc-dialog only once (via antd), so the snapshot test will show the difference.
Bumps [@types/react](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/HEAD/types/react) from 16.14.11 to 17.0.15. Commits See full diff in compare view [](https://dependabot.com/compatibility-score/?dependency-name=@types/react&package-manager=npm_and_yarn&previous-version=16.14.11&new-version=17.0.15) Dependabot will resolve any conflicts with this PR as long as you don't alter...
Bumps [rc-drawer](https://github.com/react-component/drawer) from 4.1.0 to 4.4.0. Release notes Sourced from rc-drawer's releases. v4.4.0 feat: add autoFocus props for drawer (#181) c6f29c3 Bump @types/react from 16.14.8 to 17.0.9 (#195) 8d8353a Bump...