afc163
e3565ac110
🚨 Fix lgtm errors
https://lgtm.com/projects/g/ant-design/ant-design/alerts/?mode=list
6 years ago
zombieJ
8f0bf39348
add check prepare to make Affix smooth in Safari ( #16281 )
6 years ago
zombieJ
9dbca667d6
fix: Affix dynamic change target should work ( #16146 )
* fix target not refreshed
* add comment
6 years ago
zombiej
d81ce6ee99
add test
6 years ago
zy410419243
555af0a40d
Revert "refactor: update lifecycle method for Affix"
revert: related to #15150
6 years ago
zy410419243
ad30c02710
refactor: update lifecycle method for Affix
6 years ago
zombiej
fd0bea7332
fix size
6 years ago
zombiej
439053e4f7
update snapshot
6 years ago
zombiej
d0c2f8b05f
remove debug
6 years ago
zombiej
2eb4ecfedd
refactory
6 years ago
ycjcl868
28986d00e0
📝 fix className ts definition
6 years ago
Junbin Huang
d78c0f2707
Chore/fix master conflict ( #14126 )
* adjust table fixed column z-index (#14036 )
fix #13930
* 📝 Add instruction for one column without width left in fixed table
* Add full PR template link in template (#14061 )
* add full tmpl link
* adjust
* simplify it
* add cn link
* Fix Affix flickering when scrolling
* update
* fix: top border disappeared under some ie9
* fix calendar month range display (#14049 )
* Fix tslint warning
* Correct typescript usage (#14074 )
* 🐛 Fix steps style under IE9
close #14001
* 🐛 tweak style for not affecting vertical steps
* 📝 enhance upload documentation
* Input.Group with TimePicker disappear icon: https://codepen.io/mraiguo/pen/QzvvvE?editors=0010
* 🐛 Fix disabled button style in DatePicker panel
https://user-images.githubusercontent.com/507615/50693143-17505400-1071-11e9-9114-b150bef8f7f6.png
* 📝 site: fix BackTop been covered by footer
close #14093
* Update PULL_REQUEST_TEMPLATE.md
* Update pr_cn.md
* 🐛 Fix nested Timeline last item missing line (#14110 )
close #14108
* init Spin should also support delay trigger (#14105 )
fix #14100
* Update table docs
* bugfix
* Format
* update snapshot
* test: fix spin test
6 years ago
ztplz
1bdb8e5939
update
6 years ago
ztplz
a019c0033f
Fix Affix flickering when scrolling
6 years ago
徐新航
e0c74501f4
feat: The <Affix> run update-position when first mounted, to get the actual styles.
6 years ago
陈帅
8e11f0bdb9
merge support prettier
6 years ago
陈帅
dca9715186
support prettier
6 years ago
zombieJ
1a0a06fca9
ConfigProvider support prefixCls ( #13389 )
Basic support prefixCls.
6 years ago
ztplz
6ad23c370e
Fix CI
6 years ago
ztplz
8dc98dd690
Improve Affix
6 years ago
Wei Zhu
064bfaf554
Add @types/prop-types
6 years ago
愚道
5903fdb19f
fix: Affix does not refix on offset prop changes
7 years ago
afc163
5fd4139661
Fix Affix offsetBottom not working, close #10674
7 years ago
afc163
6d8df2ac25
test: improve affix test case
7 years ago
qhxin
7404b7f36c
fix Affix/index.tsx while offsetTop === 0 and offsetBottom is numberic ( #10566 )
* Update index.tsx
Fix: if offsetTop === 0, it will get undefined, if offsetBottom is type of number, offsetMode will be { top: false, ... }
* Update index.tsx
7 years ago
afc163
37506b238f
sync placeholder node size when node is sticky by Affix, close #9536
7 years ago
afc163
8fb285fce9
Move maxHeight code into anchor, close #8606
7 years ago
afc163
31a0654ef9
Avoid affix element is higher than view port
7 years ago
Wei Zhu
d2b59938b8
Fix code style
7 years ago
Wei Zhu
b8a08f6e1d
Fix implicit any error for Affix
7 years ago
Wei Zhu
479a5cb743
Remove allowSyntheticDefaultImports ( #8218 )
7 years ago
Benjy Cui
f46a87d3e0
fix: should use fixedNode's height to reset placeholder, close : #2349
7 years ago
Wei Zhu
047f62e9b4
Mark refs to private ( #7600 )
7 years ago
Wei Zhu
581ddb2b49
refactor: affix string refs to callback ( #7482 )
7 years ago
afc163
01d4acb7a9
Attach more events for Affix display
7 years ago
Benjy Cui
0e5431d21b
deps: upgrade antd-tools and code style
8 years ago
Manjit Kumar
4e055ed5d0
use PropTypes from 'prop-types' mdoule instead of React
- as React.PropTypes is being deprecated
- Warning: Accessing PropTypes via the main React package is deprecated. Use the prop-types package from npm instead.
- Solution: https://facebook.github.io/react/blog/2017/04/07/react-v15.5.0.html#migrating-from-react.proptypes
8 years ago
偏右
0308138974
[WIP] upgrade deps ( #5455 )
* upgrade deps
* autofix some tslint problems
* Fix tslint problems manually
8 years ago
偏右
674255bd14
[WIP] upgrade deps ( #5455 )
* upgrade deps
* autofix some tslint problems
* Fix tslint problems manually
8 years ago
ddcat1115
7ab95b7eae
- fix ts error ( #5145 )
- typescript upgrade to 2.2.1
8 years ago
陆离
7d982ddfd4
Calc width of `Affix` using getBoundingClientRect ( #4989 )
+ close #4986
8 years ago
乔奕轩
030127e93c
fix: Affix should not pass onChange to div ( #4982 )
8 years ago
陆离
3789e0cbbb
Affix listener bug fix ( #4756 )
* Affix listener bug fix
+ close #4755
+ close #4760
+ clearScrollEventListeners before setTargetEventListeners
+ add tests for throttle
+ append affix test case
* genMockFn -> fn()
8 years ago
陆离
340385d34d
pass style props to `Affix` ( #4715 )
+ close #4701
8 years ago
陆离
5cd111d486
recalculate width while resize ( #4676 )
+ close #4645
+ throttleByAnimationFrameDecorator as a function decorator
8 years ago
afc163
c7c886fda6
Improve Affix target demo code style, close #4037
8 years ago
Benjy Cui
8268bfdd9e
refactor: udpate Affix to work with strictNullCheck
8 years ago
Benjy Cui
61910bc2cb
fix: SSR for Affix and BackTop, close : #3283
8 years ago
Benjy Cui
9685d06f45
fix: should test if window exist, close : #3216
8 years ago
Benjy Cui
bd7e9f00c0
style: update code style
8 years ago