mirror of
https://github.com/ionic-team/ionic-framework.git
synced 2026-03-13 10:22:08 +08:00
chore(scroll): use internal scroll data
This commit is contained in:
@@ -516,9 +516,9 @@ export class Content extends Ion implements OnDestroy, OnInit {
|
||||
const parentElement = scrollEle.parentElement;
|
||||
|
||||
return {
|
||||
contentHeight: parentElement.offsetHeight - this.contentTop - this.contentBottom,
|
||||
contentTop: this.contentTop,
|
||||
contentBottom: this.contentBottom,
|
||||
contentHeight: parentElement.offsetHeight - this._cTop - this._cBottom,
|
||||
contentTop: this._cTop,
|
||||
contentBottom: this._cBottom,
|
||||
|
||||
contentWidth: parentElement.offsetWidth,
|
||||
contentLeft: parentElement.offsetLeft,
|
||||
|
||||
Reference in New Issue
Block a user