Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

creativeEffect not working ? - Nextjs - webComponent #7543

Closed
4 of 6 tasks
KatuGT opened this issue May 17, 2024 · 2 comments
Closed
4 of 6 tasks

creativeEffect not working ? - Nextjs - webComponent #7543

KatuGT opened this issue May 17, 2024 · 2 comments

Comments

@KatuGT
Copy link

KatuGT commented May 17, 2024

Check that this is really a bug

  • I confirm

Reproduction link

https://codesandbox.io/p/devbox/swiper-creativeeffect-test-error-zrz7vf?file=%2Fapp%2Fpage.tsx%3A42%2C10

Bug description

I am trying to implement this effect
https://codesandbox.io/p/sandbox/swiper-effect-creative-forked-272t82?file=%2Findex.html%3A138%2C18-138%2C26 but as you can see in my reproduction, the "cards" just dont overlap

Expected Behavior

I need it to work just like in the example, the cards should overlap

Actual Behavior

No response

Swiper version

11.0.6

Platform/Target and Browser Versions

Chrome, Brave. Firefox

Validations

  • Follow our Code of Conduct
  • Read the docs.
  • Check that there isn't already an issue that request the same feature to avoid creating a duplicate.
  • Make sure this is a Swiper issue and not a framework-specific issue

Would you like to open a PR for this bug?

  • I'm willing to open a PR
@nolimits4web
Copy link
Owner

You also need to set init="false" on swiper-container if you initilalize it manually

@KatuGT
Copy link
Author

KatuGT commented May 30, 2024

You also need to set init="false" on swiper-container if you initilalize it manually

Thankyou for you answer!

I tried that after reading your comment but it is nos working, I tried setting it directly on swiper-container but it returns a error, and then I tried inside the useEffect object params but it´s doing nothing

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

No branches or pull requests

2 participants