-
-
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
Break global Angular app styles in Firefox when ngx scrollbar becomes visible #615
Comments
The problem is with the polyfill, I think this is related flackr/scroll-timeline#261 I opened an issue flackr/scroll-timeline#273 |
Hi! I am currently experiencing this bug. Is there any short-term solution to fix this? Thanks |
Yes, actually here is a fixed version of the polyfill. use the following URL to load the polyfill. bootstrapApplication(App, {
providers: [
provideScrollbarPolyfill('PATH_TO_POLYFILL')
]
}); |
Here is a fixed stackblitz that works in firefox, I will ship the modified polyfill in the next version. |
Reproduction
https://stackblitz.com/edit/ngx-scrollbar-ruvhwk
ngx-scrollbar-ruvhwk.zip
Actual Behavior
In Firefox, when the ngx scrollbar becomes visible, it loads https://flackr.github.io/scroll-timeline/dist/scroll-timeline.js.
Once loaded, this breaks the global styles of the Angular application.
stackblitz.com - Doesn't reproduce this because it blocks Scroll-timeline.js from loading.
I am attaching an example in a zip archive, it must be run locally.
In addition, downloading scroll-timeline.js from the Internet will not allow to use ngx-scrollbar in intranet projects.
Environment
The text was updated successfully, but these errors were encountered: