Commit Graph

22 Commits

Author SHA1 Message Date
shao
4beb676794 fix(Anchor): update demo test snap 2019-07-23 16:19:22 +08:00
shao
2a7cb944e0 feat(Anchor): add getCurrentAnchor prop 2019-07-23 14:59:28 +08:00
黄斌
aa663e149d feat: Re-bind scroll events when components change, add test cases 2019-07-16 19:19:11 +08:00
gyh9457
c037e8dddd fix anchor demo (#14226)
* fix anchor demo

* update anchor snapshot
2019-01-09 23:40:47 +08:00
陈帅
dca9715186 support prettier 2018-12-07 18:27:30 +08:00
afc163
83c192ea3e
💄 fix eslint problems 2018-11-28 15:11:02 +08:00
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
afc163
7b719ce457 simplicy Anchor test 2018-08-11 15:16:33 +08:00
afc163
fbab93fbd6 fix anchor test fails a lot again 2018-08-11 11:23:42 +08:00
afc163
c2319f0998 fix test fails a lot 2018-08-10 00:11:12 +08:00
tangjinzhou
14e0cc0161 fix: anchorLink href update 2018-07-16 17:31:32 +08:00
afc163
93b14da4a6 improve test code 2018-05-25 21:43:21 +08:00
afc163
50057739bf Add test cases for Anchor 2018-05-25 21:43:21 +08:00
afc163
be13326a1b Fix typo 2018-05-25 21:43:21 +08:00
junjing.zhang
0933201652 anchor scroll supports complete href link - test
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
偏右
9053192ae9 Fix component style (#7848)
* fix components style

* fix snapshot

* update travis node version

* change upload action in ci
2017-10-11 12:01:27 +08:00
Wei Zhu
c5487ad1eb React 16 + Enzyme 3 2017-10-09 19:18:04 +08:00
Benjy Cui
f2d4d0a9e4 refactor: simplify Anchor, and fix #6473 2017-07-21 11:58:12 +08:00
Wei Zhu
f6b1e942e3 Jest 19 (#5361)
* Upgeade to jest 19

* Use jest.spyOn
2017-03-17 18:56:30 +08:00
Wei Zhu
07103b9fb6 Don't ignore test files. 2016-12-14 14:48:09 +08:00
Wei Zhu
17a0a33283 Restructure tests. 2016-12-14 14:41:39 +08:00