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
feng zhi hao
cad2d19be2
fix: complete loss declaration ( #3068 )
* complete loss declaration
* fix error in ts-lint
* fix Icon name error
8 years ago
Benjy Cui
59093a6586
fix: should pass prefixCls correctly
8 years ago
马斯特
a25ec29fb8
refactor: 保证所有的tsx和less都正确使用prefix ( #3024 )
* refactor: extract prefix cls as less variable
* refactor: apply ant icon prefix cls in less files
* refactor: all components support prefixCls props
8 years ago
Benjy Cui
14fb2c78ba
chore: remove deprecated code ( #2920 )
* chore: remove deprecated code
* chore: add warning for Breadcrumb
8 years ago
afc163
363f610d8b
Fix tsc errors beside DatePicker
8 years ago
afc163
77949bb9e3
upgrade eslint-config, close #2811
8 years ago
Benjy Cui
5d39bd9c54
fix: resolve merge conflict
8 years ago
afc163
4f18cf0658
fix types
8 years ago
afc163
2e41e35cc6
Fix more tslint problems
8 years ago
偏右
de359d2cf7
fix tslint problems ( #2360 )
8 years ago
afc163
ce7e7c77f0
Fix ts error in Affix ( #1846 )
8 years ago
afc163
4e0956f3e3
should use assign in ts
9 years ago
yiminghe
9a0d751f94
refactor to typescript
9 years ago
afc163
90c2d7ee12
downgrade rc-util
9 years ago
ddcat1115
37e376df11
fix #1777
9 years ago
RaoHai
b8e196f178
Restore `width` props in `affixStyle` of `<Affix />` ( #1854 )
+ close #1820
9 years ago
afc163
5e21853e8b
Add deprecated warning for Affix offset
9 years ago
afc163
91e690282d
update site markdown style
9 years ago
Bruce Mitchener
0acce38f08
Convert more createClass over to extending Component.
9 years ago
Bruce Mitchener
89561b0b3e
Favor 'export default' over 'module.exports'.
9 years ago