Reload Css #656
Unanswered
MyNameTony1000
asked this question in
Q&A
Reload Css
#656
Replies: 1 comment 4 replies
-
Good day @MyNameTony1000 :) Thats a strange issue indeed... is it possible for you to create a minimal demo for me on StackBlitz? For such an issue I need to have an example so I can make sure I'm not making a mistake when trying to reproduce it. Please also share your OS and browser with me, so I can investigate whether those factors also play a role. |
Beta Was this translation helpful? Give feedback.
4 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hello, I have a strange problem when using the plugin.
I use webpack with es6 and type='module'.
When using the offcanvas bootstrap 5 component and initializing your plugin on the body element - when the offcanvas window appears, the css is updated or something like that, because of this, the smoothness of the offcanvas appearance completely disappears, the animations on the page also reload and start working from the beginning. The page itself does not reload. When disabling the OverlayScrollbars plugin, everything works fine.
This is the connection:
This usage:
There is also a point - if you use the change of scrolling options during the events of the appearance/disappearance of the offcanvas window, for example:
The css update will only occur when you first open it, then everything will work fine. Also, when building a project - this problem is not observed in the final files. This problem only occurs when developing a project.
In the old build without type="module" everything works fine.
Beta Was this translation helpful? Give feedback.
All reactions