max
max
**Describe the bug** `onClick, onFocus, onBlur, onMouseEnter, onMouseLeave` 事件会调用两次 **To Reproduce** 最小复现 Demo: ```tsx const Demo = () => console.log(e)} /> ``` 在此组件上点击一次,会触发两次 onClick 的调用; **Expected behavior** A clear and...
### Preliminary Checks - [X] This issue is not a duplicate. Before opening a new issue, please search existing issues: https://github.com/gatsbyjs/gatsby/issues - [X] This issue is not a question, feature...
## Description ### Documentation ## Related Issues Fixes #36480
### Basic info: - **Node.js version: 16.17.0** - **jsdom version: 20.0.0** ### Minimal reproduction case ```js const { JSDOM } = require('jsdom') const dom = new JSDOM(` foo `) console.log(dom.window.document.adoptedStyleSheets)...
Before: After: closed #6398
### Version of antd-mobile 5.32.4 ### What is this feature about? `rc-field-form` 导出了一个 `RcFormProps` 类型,此类型继承了 `React.FormHTMLAttributes`。因此它包含有[原生 `form` 元素](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/form)所支持的所有类型。 这不是一个破坏性改动,只需要小小的修改[该行代码](https://github.com/ant-design/ant-design-mobile/blob/master/src/components/form/form.tsx#L37)就能实现。比如完全继承 `RcFormProps` 或者使用 `Omit` 语法来排除某些字段即可。
### 以前的Issues [#129 全局水印与其它遮罩层冲突](https://github.com/pansyjs/watermark/issues/129) ### 问题描述 1. 升级为 React 18 后,页面会卡死。将 `monitor` 设置为 `false` 后正常; 2. React 18 中的 `React.FC` 类型已经将 `children` 属性移除,希望在 `WatermarkProps` 中添加上 `children`,否则会报类型错误; ### 复现步骤 [最小复现 Demo](https://codesandbox.io/s/pansy-react-watermark-qia-si-fu-xian-demo-rbv0jn?file=/src/App.tsx)...
| Before | After | | ------ | ------| | | | | | | | | |
### Related #790 ant-design/ant-design#36489 ### 💡 Background and solution `` is a form element which should have the ability to interact with the form. Ant Design is a great project...