mirror of
https://github.com/ionic-team/ionic-framework.git
synced 2025-11-10 00:27:41 +08:00
fix(refresher): ensure that translate is cleaned up to avoid stacking context (#20621)
fixes #17949
This commit is contained in:
@ -658,7 +658,7 @@ export class Refresher implements ComponentInterface {
|
||||
if (this.scrollEl && this.backgroundContentEl) {
|
||||
const scrollStyle = this.scrollEl.style;
|
||||
const backgroundStyle = this.backgroundContentEl.style;
|
||||
scrollStyle.transform = backgroundStyle.transform = ((y > 0) ? `translateY(${y}px) translateZ(0px)` : 'translateZ(0px)');
|
||||
scrollStyle.transform = backgroundStyle.transform = ((y > 0) ? `translateY(${y}px) translateZ(0px)` : '');
|
||||
scrollStyle.transitionDuration = backgroundStyle.transitionDuration = duration;
|
||||
scrollStyle.transitionDelay = backgroundStyle.transitionDelay = delay;
|
||||
scrollStyle.overflow = (overflowVisible ? 'hidden' : '');
|
||||
|
||||
Reference in New Issue
Block a user