Closed muhammadadamfirdaus closed 1 year ago
Make sure that when you get the new slides datas you can init a new Swiper
. For example:
return (
<div>
<div className="headline-home">
{
slieds.length ? (
<Swiper id="headline" navigation pagination effect="coverflow">
{slides}
</Swiper>
) : null
}
</div>
</div>
)
@muhammadadamfirdaus still relevant?
Same problem
Havin the same problem, did anyone managed to fix it? @muhammadadamfirdaus @vltansky @GuiSelair
We are still seeing this problem. Did you manage to find a solution @muhammadadamfirdaus ?
Quick Update: i was seeing this issue with use of virtual module. after removing it issue seems to have vanished for time being. will further explore and revert if i find out more on this issue.
Same problem
same problem here , the dom tree for the swiper remove all the controls , some time it work like overflow-x scroll and no else work only if reload the page some time it work some time still the same .
Same problem
Guys, There's the solution. You should add observer = {true} observerParents={true}
to the parameters to <Swiper>
and this should solve the issue.
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.
same problem
@OmarBakr2020 issue is still coming after adding observer values
@mitesh-200228 I haven't looked for another solution for this problem, Mine worked for me, but I'll try to look for another workaround for it
@mitesh-200228 my solution was to add observer={true} observeParents={true} pagination={true}
attributes to <Swiper>
tag
not working for me, but still thank you
Sorry for that!
please any one can help time west for us
I had the same problem. See if you have the same keys in swiper childrens.
Same problem
same problem!
Same problem
Same problem
this works for me ! thank you very much !
Issue is closed because of outdated/irrelevant/not actual/needed more information/inactivity.
If this issue is still actual and reproducible for latest version of Swiper, please create new issue and fill the issue template correctly:
This is a (multiple allowed):
[x] bug
[ ] enhancement
[ ] feature-discussion (RFC)
Swiper Version: 6.3.5.
Platform/Target and Browser Versions: MacOS, Chrome 86.0.4240.111.
What you did
Hello, when this code load for the first time, Swiper seems doesn't init, must be changed to the other view on developer tools in order to works.
There's no extra properties like when Swiper worked (prev, active, next, etc).
Expected Behavior
Worked only when we change window, not first load.
Did I missing something? Thanks.