mirror of
https://github.com/ionic-team/ionic-framework.git
synced 2025-11-08 23:58:13 +08:00
fix(content): scrolling Y
This commit is contained in:
@ -290,7 +290,6 @@ export class Content {
|
||||
|
||||
render() {
|
||||
const { scrollX, scrollY, forceOverscroll } = this;
|
||||
const scrollEnabled = scrollX || scrollY;
|
||||
|
||||
this.resize();
|
||||
|
||||
@ -300,8 +299,7 @@ export class Content {
|
||||
'inner-scroll': true,
|
||||
'scroll-x': scrollX,
|
||||
'scroll-y': scrollY,
|
||||
'scroll-enabled': scrollEnabled,
|
||||
'overscroll': scrollEnabled && !!forceOverscroll
|
||||
'overscroll': (scrollX || scrollY) && !!forceOverscroll
|
||||
}}
|
||||
ref={el => this.scrollEl = el!}
|
||||
onScroll={ev => this.onScroll(ev)}>
|
||||
|
||||
Reference in New Issue
Block a user