drawer
drawer copied to clipboard
React Drawer
使用BetaSchemaForm, drawer的版本号为6.1.4时,弹窗打开再关才后,再次打开时,弹窗里的内容没有渲染,一片空白。 ``` { await setParam({ versionName: '', id: null }); if (!vis) { if (formRef?.current) { formRef?.current.resetFields(); } onClose(false); } else { if (record && record.id) { if (formRef?.current)...
previous pr #86
refer: 1. https://github.com/react-component/drawer/pull/350 2. https://github.com/ant-design/ant-design/issues/38506 3. https://github.com/react-component/portal/commit/08df278a130658f51133ea3314b6bca568280ad1#r116024280 fix: https://github.com/ant-design/ant-design/issues/49462 ## Summary by CodeRabbit - **Bug Fixes** - 修复了抽屉组件锁定滚动行为,使其不再依赖于遮罩(mask)属性,提升了使用一致性。 - **Tests** - 更新并新增了相关测试用例,确保在不同容器下滚动锁定逻辑的正确性。
Bumps [eslint](https://github.com/eslint/eslint) from 8.57.0 to 9.3.0. Release notes Sourced from eslint's releases. v9.3.0 Features b32153c feat: add overrides.namedExports to func-style rule (#18444) (Percy Ma) b67eba4 feat: add restrictedNamedExportsPattern to no-restricted-exports...
Bumps [eslint-plugin-unicorn](https://github.com/sindresorhus/eslint-plugin-unicorn) from 51.0.1 to 53.0.0. Release notes Sourced from eslint-plugin-unicorn's releases. v53.0.0 New rules consistent-empty-array-spread (#2349) 8d7954c prefer-string-raw (#2339) 4f1400a no-invalid-fetch-options (#2338) 342aafb no-magic-array-flat-depth (#2335) bc17428 prefer-structured-clone (#2329) 497519e...
Bumps [@testing-library/react](https://github.com/testing-library/react-testing-library) from 14.3.1 to 15.0.7. Release notes Sourced from @testing-library/react's releases. v15.0.7 15.0.7 (2024-05-07) Bug Fixes Ensure act is not any when React.act is not declared (#1323) (c1f2957) v15.0.6...
Bumps [eslint-plugin-jest](https://github.com/jest-community/eslint-plugin-jest) from 27.9.0 to 28.5.0. Release notes Sourced from eslint-plugin-jest's releases. v28.5.0 28.5.0 (2024-05-03) Features allow @typescript-eslint/utils v7 as a direct dependency (#1567) (1476f10) v28.4.0 28.4.0 (2024-05-03) Features valid-expect:...
Bumps [np](https://github.com/sindresorhus/np) from 9.2.0 to 10.0.5. Release notes Sourced from np's releases. v10.0.5 Fix npm 10 compatibility for real (#744) 34409be https://github.com/sindresorhus/np/compare/v10.0.4...v10.0.5 v10.0.4 Fix compatibility with npm 10 (#743) 4caa295...
I'm trying to upgrade the library from v4 to the latest version. In our code we are currently relying on the `handler` prop, but that appears to be removed from...
Bumps [@types/node](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/HEAD/types/node) from 22.15.33 to 24.0.4. Commits See full diff in compare view [](https://docs.github.com/en/github/managing-security-vulnerabilities/about-dependabot-security-updates#about-compatibility-scores) Dependabot will resolve any conflicts with this PR as long as you don't alter...