Commit Graph

14 Commits

Author SHA1 Message Date
mushan0x0
dd37457048 feat: Anchor onClick (#11898)
* update: 添加AntAnchor类型

* update: 完成代码逻辑

* update: 添加测试

* update: 点击锚点不记录历史

* update: 添加示例

* docs: 更新文档

* update: 更改onClick事件里的link为对象

* update: 优化代码

* update: 修改propClick为onClick
2018-08-28 20:20:46 +08:00
Vitaliy Mazurenko
a14e476eeb Anchor component with affix=true doesn't work inside inner scrollable… (#11688)
close #11687
2018-08-10 13:37:17 +08:00
Wei Zhu
064bfaf554 Add @types/prop-types 2018-08-07 21:09:05 +08:00
偏右
a2e0e40caa
[WIP] Use raf to replace getRequestAnimationFrame (#10614)
* use raf to replace getRequestAnimationFrame

* remove isCssAnimationSupported
2018-05-22 13:01:28 +08:00
Wei Zhu
2a5479a524 Fix type errors
Close #9988
2018-04-11 12:01:28 +08:00
Wei Zhu
da4062f9c1
Add Anchor[getContainer] (#9694) 2018-03-30 15:55:54 +08:00
junjing.zhang
4bf675703d anchor scroll supports complete href link
anchor scroll supports complete href link, e.g. http://www.example.com/#id, not just #id
2018-01-04 19:27:23 +08:00
afc163
8fb285fce9 Move maxHeight code into anchor, close #8606 2017-12-28 13:20:12 +08:00
Wei Zhu
c0a42480ae Fix implicit any error for Anchor 2017-11-22 11:34:46 +08:00
Wei Zhu
479a5cb743
Remove allowSyntheticDefaultImports (#8218) 2017-11-17 14:38:54 +08:00
Wei Zhu
047f62e9b4 Mark refs to private (#7600) 2017-09-17 15:48:44 +08:00
Wei Zhu
825a3d5e95 refactor: anchor string refs to callback (#7483) 2017-09-08 09:37:20 +08:00
Benjy Cui
2ba3a84331 fix: getDefaultTarget only be called in browser, close: #6926 2017-07-24 09:58:56 +08:00
Benjy Cui
f2d4d0a9e4 refactor: simplify Anchor, and fix #6473 2017-07-21 11:58:12 +08:00