Skip to content

Conversation

krzksz
Copy link

@krzksz krzksz commented May 20, 2025

This PR addresses the issue I described in #7983.

It moves the shadow DOM attachment for the SwiperContainer element from the constructor to the initialize function. This makes sure that the elements stay visible all the time as the render function is triggered synchronously right after.

The change is not needed for the SwiperSlide as it moves its contents immediately anyway.

@krzksz
Copy link
Author

krzksz commented May 20, 2025

@nolimits4web Thank you for looking into the issue. I can see you closed it as "expected behaviour". The fix seems quite simple, but feel free to close this PR if you don't like it.

Thanks again!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant