You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I have Next 14.0.3 app with tailwind CSS. I installed swiper JS of version 11.0.5 with npm. Problem is when I reload page, swiper styles take 1 or 2 seconds to load. Swiper slides become fully stretched till Next Js loads swiper styles. Here is gif for better understanding: https://gyazo.com/5ba13d4a8eed7407cb124f2179309bb6.
Check that this is really a bug
Reproduction link
https://gyazo.com/5ba13d4a8eed7407cb124f2179309bb6
Bug description
I have Next 14.0.3 app with tailwind CSS. I installed swiper JS of version 11.0.5 with npm. Problem is when I reload page, swiper styles take 1 or 2 seconds to load. Swiper slides become fully stretched till Next Js loads swiper styles. Here is gif for better understanding: https://gyazo.com/5ba13d4a8eed7407cb124f2179309bb6.
Thanks in advance for any help.
My Swiper Component:
Here is my package.json:
Expected Behavior
Swiper styles should be loaded immediately in next js preventing slides to be stretched for first 2 3 seconds after page refresh.
Actual Behavior
Swiper styles take time to load in next js, causing swiper slides to be stretched.
Swiper version
11.0.5
Platform/Target and Browser Versions
Windows 11 Chrome
Validations
Would you like to open a PR for this bug?
The text was updated successfully, but these errors were encountered: