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 am trying to full screen a swiper slide by pulling it out of the document flow (position fixed).
When I re-set the slide back into the document the size it calculates is incorrect.
I have tried using swiper.update() and this does not help
Expected Behavior
Document remains "full window height".
No response
Actual Behavior
Document ends up being "full window height + footer height"
on the close, which I guess causes a re-render, n.b. this does not work with userSwiper. Setting it to 100% or 100vh will break it. Setting it to 0 makes it flash (I suppose as it re-renders?). A workaround is to wrap the swiper in another full height div and use that as the source height.
Check that this is really a bug
Reproduction link
https://codesandbox.io/p/devbox/swiper-react-pagination-forked-rphtm9?workspaceId=35d6dd92-3dc6-4c2e-8d07-68fda293fe48
Bug description
I am trying to full screen a swiper slide by pulling it out of the document flow (position fixed).
When I re-set the slide back into the document the size it calculates is incorrect.
I have tried using
swiper.update()
and this does not helpExpected Behavior
Document remains "full window height".
No response
Actual Behavior
Document ends up being "full window height + footer height"
No response
Swiper version
11.1.14
Platform/Target and Browser Versions
Edge/Chrome
Validations
Would you like to open a PR for this bug?
The text was updated successfully, but these errors were encountered: