Commit Graph

30 Commits

Author SHA1 Message Date
supergaojian 4a451ac873
fix(scroll-view): change the refresh active event trigger timing (#643)
fix #642
2020-02-04 14:12:21 +08:00
Shawn Xu 810f0140f0
fix(tip): mark scrolling wrapper in ScrollView (#637)
* fix(tip): mark scrolling wrapper in ScrollView

* test(scroll-view): update inner scroll-view snap shots

* test(tip): add tip scrolling wrapper testing case
2020-02-04 14:11:41 +08:00
Shawn Xu 5694d7f18f
feat(scroll-view): add method getOffsets (#595)
* feat(scroll-view): add method getOffsets

* fix(scroll-view): add autoReflow watching for ScrollView display toggle

* doc(scroll-view): add additional notes
2019-10-18 16:56:49 +08:00
xuxiaoyan 15bd27de59 chore(scroll-view): specify container z-index to optimize translate3d performance 2019-09-11 21:54:59 +08:00
Shawn Xu 8cef3d4a1b
feat(scroll-view): add prop is-prevent (#468)
* feat(scroll-view): add prop is-prevent

* doc(scroll-view): update readme

* example(scroll-view): update horizontal scrolling

* code-style(scroll-view): add variable in touchmove

* fix(scroll-view): fix error with event.cancelable is false, event.preventDefault can not prevent
2019-06-13 16:16:15 +08:00
moyu 0c971e4653 fix(scroll-view): fix move outside screen not trigger scroll end (#344) 2019-03-08 11:53:57 +08:00
Shawn Xu 626cd65234 Fix scrollview (#336)
* feat(utils): add throttle

* fix(utils): update scroller minVelocityToStartDeceleration

* fix(scroll-view): update trigger condition of endReached

* fix(utils): update scroller minVelocityToStartDeceleration

* fix(scroll-view): fix more slot prop & add end-reached event
2019-02-25 19:46:26 +08:00
Shawn Xu 6cc6141cb5 feat(scroll-view): add prop touch-angle (#326)
limit the angle at which triggers scroll events to reduce scroll sensitivity
2019-02-22 14:31:14 +08:00
xuxiaoyan 6636159940 Merge branch 'dev' of https://github.com/didi/mand-mobile into dev 2019-02-18 15:21:14 +08:00
xuxiaoyan def6b00800 fix(scroll-view): increase scrolling speed 2019-02-18 15:20:53 +08:00
xuxiaoyan 79f64b7ee0 feat(scroll-view): debounced endReached event 2019-02-16 20:52:40 +08:00
xuxiaoyan 6910e83057 feat(scrollview): add prop immediateCheckEndReaching
trigger endReaching event when the content is less than one screen
2019-02-15 13:10:47 +08:00
xuxiaoyan a27657cec3 test: add ignore comments 2019-01-26 22:28:11 +08:00
xuxiaoyan 2155b3c0b7 feat(scroll-view): add prop manual-init & method init
used for asynchronous initialization scenarios
2018-12-26 16:02:03 +08:00
xuxiaoyan 472654bcad fix(scroll-view): remove container background color 2018-12-23 21:35:07 +08:00
xuxiaoyan a124f22df3 fix(scroll-view): Horizontal scrolling 2018-12-06 17:19:17 +08:00
xuxiaoyan 97c81c24d2 fix(scroll-view): update header/footer zindex 2018-10-25 00:38:31 +08:00
xuxiaoyan 06bee576ea feat(scroll-view): add header/footer slot[#188] 2018-08-28 11:23:44 +08:00
xuxiaoyan 9ea27a58e1 fix(scroll-view): remove window reisize listener & revert compare[#184] 2018-08-15 20:38:02 +08:00
xuxiaoyan 5b7e53583a fix(scroll-view): remove input/textareat toushstart limit & remove container and content size compare before scroller setDimensions because some android device keyboard pulling up causes scrolling exception[#184] 2018-08-15 14:38:55 +08:00
xuxiaoyan a78dd7c588 fix(scroll-view): fix fault tolerance without tagName[#183] 2018-08-09 20:44:01 +08:00
Shawn Xu 0ded969c34 feat(scroll-view): add autoReflow (#170) 2018-08-01 10:58:34 +08:00
Shawn Xu ea1bdc80d7 Fix selector scroll (#159)
* fix(scroll-view):fix content can not respond to click events

* fix(selector):fix click penetration #157

* doc(popup):update prevent-scroll
2018-07-24 13:16:28 +08:00
xuxiaoyan acca33f697 fix(scroller):add inRequestAnimationFrame & fix demo 2018-07-20 17:45:21 +08:00
xuxiaoyan 231ad56330 fix(scroll-view):stop scroll when mouse leave scroll area 2018-07-12 17:59:30 +08:00
xuxiaoyan 976a9dfa4e feature(scroll-view):complete scroll-view readme & test 2018-07-12 17:44:42 +08:00
xuxiaoyan 5e650257d9 feature(scroll-view):complete scroll-view & fix(scroller):fix scrollTo be canceled when scroller is animating 2018-07-10 18:29:07 +08:00
xuxiaoyan c5744ce6a3 feature(scroll-view):complete load more & update demos 2018-07-04 20:15:39 +08:00
xuxiaoyan 15b1e315a6 feature(scroll-view):add endreach & more 2018-07-01 21:37:18 +08:00
xuxiaoyan 7b22293e3d feature(scroll-view):add scroll-view 2018-07-01 01:42:39 +08:00