-
-
Notifications
You must be signed in to change notification settings - Fork 98
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Firefox flickers on loading scrollbar/polyfill #631
Comments
Could you try this polyfill URL and tell if it fixes the issue https://cdn.statically.io/gist/MurhafSousli/c852b6a672069396953f06ddd4b64620/raw/0b2553be83108b96b442c7004b08ef57c9282bfe/scroll-timeline-lite.js import { provideScrollbarPolyfill } from 'ngx-scrollbar';
export const appConfig: ApplicationConfig = {
providers: [
provideScrollbarPolyfill(polyfillURL)
]
}; |
@MurhafSousli yes, this seems to fix the issue! |
@daniel-sc how to reproduce it? |
@MurhafSousli I uploaded a small reproduction: https://github.com/daniel-sc/ngx-scrollbar-reproduce-polyfill-error |
#624 (comment) Seems to fixes this issue. |
Reproduction
@MurhafSousli it seems there is still (probably related to #615) some issue with that polyfill - I am using v15.1.0 and (still) get a short flicker when the scrollbar/polyfill is loaded, where all styles quickly get reset, see attached video/gif (in reality it is shorter, I artificially slowed down the relevant 2 frames..):
Expected Behavior
All existing styles already loaded should not (visibly) changed/updated.
Actual Behavior
For a short period some(?) styles get reset.
Environment
The text was updated successfully, but these errors were encountered: