Jason Miller
36a5485870
fix: Avoid mutating Event properties that are supposed to be getters ( #33536 )
* Avoid mutating Event properties that are supposed to be getters
React's synthetic Event objects have mutable `target` and `currentTarget` properties. These are an incorrect emulation of the corresponding DOM Event properties, which are _getters_ and cannot be assigned-to. AntD's input handling attempts to assign to these getters, which fails in Preact because it uses native Event objects. The solution is to replace the simple property assignments with property definitions, which is likely smaller anyway due to the existing use of `Object.create()` to construct a prototypal facade of Event objects.
* Apply suggestions from code review
* Apply suggestions from code review
Co-authored-by: afc163 <afc163@gmail.com>
3 years ago
Wuif
cf5eac1a8c
fix: PageHeader state update error ( #33546 )
3 years ago
Peach
ef51e4eb78
docs: correct semicolon in upload demo ( #33544 ) ( #33553 )
3 years ago
xrkffgg
b8ec712dd3
ci: update verify-files-modify ( #33552 )
3 years ago
Peach
970dd8cc6c
docs: correct react-router usage for breadcrumb ( #33551 )
3 years ago
afc163
7caa03e2ef
docs: fix update demo
3 years ago
Ryan Lee
a29154e67a
docs: update upload-png-only demo ( #33544 )
[[English Template / 英文模板](https://github.com/ant-design/ant-design/blob/master/.github/PULL_REQUEST_TEMPLATE.md )]
### 🤔 这个变动的性质是?
- [ ] 新特性提交
- [ ] 日常 bug 修复
- [ ] 站点、文档改进
- [x] 演示代码改进
- [ ] 组件样式/交互改进
- [ ] TypeScript 定义更新
- [ ] 包体积优化
- [ ] 性能优化
- [ ] 功能增强
- [ ] 国际化改进
- [ ] 重构
- [ ] 代码风格优化
- [ ] 测试用例
- [ ] 分支合并
- [ ] 其他改动(是关于什么的改动?)
### 🔗 相关 Issue
无
### 💡 需求背景和解决方案
无
### 📝 更新日志
| 语言 | 更新描述 |
| ------- | -------- |
| 🇺🇸 英文 | |
| 🇨🇳 中文 | |
### ☑️ 请求合并前的自查清单
⚠️ 请自检并全部**勾选全部选项**。⚠️
- [x] 文档已补充或无须补充
- [x] 代码演示已提供或无须提供
- [x] TypeScript 定义已补充或无须补充
- [x] Changelog 已提供或无须提供
3 years ago
afc163
a801933196
fix: Select tag margin issue when using tagRender ( #33539 )
close #33531
3 years ago
Pablo Recalde
a559742e21
Update README-sp_MX.md ( #33535 )
The other title doesn't make sense. "Medio ambiente" is the environment, as in environmental pollution, nothing to do with computers.
3 years ago
afc163
a4d139687a
fix: image demo test in argo-ci ( #33523 )
close #33512
3 years ago
renovate[bot]
8ed607d550
chore(deps): update dependency eslint-plugin-unicorn to v40 ( #33520 )
Co-authored-by: Renovate Bot <bot@renovateapp.com>
3 years ago
Xi Ming
659571edae
fix missing words in commets ( #33514 )
Lol
3 years ago
afc163
a926aa52c6
fix: Form should have default validateMessages in en locale ( #33511 )
3 years ago
afc163
c0d2c7e8a4
chore: remove whitespace
3 years ago
二货机器人
be231f9fb5
feat: Merge TimePicker disabledXXX into disabledTime ( #33503 )
* feat: merge disabledXXX into disabledTime
* chore: fix ts
3 years ago
afc163
0976e9e6a4
test: add test case for #33487 ( #33492 )
3 years ago
afc163
e94f467209
docs: release 4.18.2 ( #33491 )
3 years ago
afc163
9ec2709b16
Revert "fix: The current change of pagination triggers onChange ( #33411 )" ( #33489 )
This reverts commit 629caccaae
.
3 years ago
afc163
150bd23d53
docs: improve changelog
3 years ago
github-actions[bot]
b05aa89908
chore: auto merge branchs ( #33485 )
chore: feature merge master
3 years ago
afc163
fb59bd2a47
docs: improve Cascader API documentation ( #33484 )
close #33477
3 years ago
二货机器人
3913fd51fb
docs: 4.18.1 changelog ( #33476 )
* docs: 4.18.1 changelog
* Update CHANGELOG.zh-CN.md
Co-authored-by: afc163 <afc163@gmail.com>
Co-authored-by: afc163 <afc163@gmail.com>
3 years ago
MadCcc
7df1d52dee
Merge pull request #33432 from MadCcc/dev
fix: not allow setState in Popconfirm if unmounted
3 years ago
MadCcc
3effa51572
refactor: refactor useMounted to useDestroyed
3 years ago
MadCcc
285e2bd9ea
refactor: refactor useMountedRef to useMounted
3 years ago
Garrick Crouch
d53e16fe76
docs: Update index.en-US.md ( #33464 )
provide correct hash link for row selection docs to selection config anchor tag
3 years ago
二货机器人
0c621c4832
fix: input not support number value ( #33462 )
3 years ago
MadCcc
6d098783fc
test: add test for react memory leak warning in Popconfirm
3 years ago
chen-jingjie
c6188fd388
fix(Divider): with text dashed border color error ( #33452 )
3 years ago
MadCcc
19e4b578d9
chore: revert import order change
3 years ago
MadCcc
727e394d75
feat: add useMountedRef hook
3 years ago
zombiej
a90ad063af
test: Update snapshot
3 years ago
afc163
80389747c7
docs: update changelog
3 years ago
guhao.zeng
56c675cd52
fix: Dropdown button destroyPopupOnHide prop not working #33433 ( #33442 )
Co-authored-by: zengguhao.zgh <zengguhao.zgh@alibaba-inc.com>
3 years ago
WeijieChen
3324bb2f59
docs: fix version error ( #33443 )
Co-authored-by: machixian <machixian@myweimai.com>
3 years ago
麦谷
67bf8903fb
docs: Update use-in-typescript.zh-CN.md ( #33434 )
这里有点不对
/* src/App.ts */
应该是
/* src/App.tsx */
执行npx create-react-app my-project-name --template typescript后也只有App.tsx文件
3 years ago
2724635499
629caccaae
fix: The current change of pagination triggers onChange ( #33411 )
* fix: table pagination onChange error (#33374 )
* test: add test case for this (#33374 )
3 years ago
dengqing
4f4e2f800a
Docs: fix fieldNames options typo ( #33241 )
* docs: tree-select fieldNames error
* docs: fix docs error
* fix: docs typo
* docs: fix fieldNames
3 years ago
MadCcc
1d738d1902
fix: not allow setState in Popconfirm if unmounted
3 years ago
二货机器人
41ac1f0c1a
chore: 4.18.0 changelog ( #33424 )
3 years ago
github-actions[bot]
24458eb54e
chore: auto merge branchs ( #33423 )
chore: master merge feature
3 years ago
github-actions[bot]
b3cc1e5276
chore: auto merge branchs ( #33422 )
chore: feature merge master
3 years ago
zombiej
7ae451729f
test: update snapshot
3 years ago
zombiej
6ed4d855b1
Merge remote-tracking branch 'origin/master' into feature-merge-master
3 years ago
Nmaxwiver
73ac1b1aaa
docs: Update practical-projects.zh-CN.md ( #33419 )
3 years ago
renovate[bot]
7f09f0a604
chore(deps): update dependency scrollama to v3 ( #33418 )
Co-authored-by: Renovate Bot <bot@renovateapp.com>
3 years ago
二货机器人
9c086c5328
fix: Skeleton missing style ( #33405 )
3 years ago
二货机器人
f1e0c9c1d2
chore: Internal Menu interface for ProLayout usage ( #33399 )
* test: Update snapshot
* chore: disable tooltip
* chore: rename
3 years ago
afc163
0edf04253e
fix: Descriptions default overflow value ( #33392 )
close #33316
3 years ago
二货机器人
2df11184f4
test: Demo check popup content ( #33378 )
* auto demo
* chore: update demo snapshot
* fix: trigger mock ref logic
* chore: try 2 test case
* chore: more snapshot
* chore: update snapshot
* chore: fix ts
* chore: split test
* test: Update test case
* chore: fix test order
3 years ago