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

spline scene not working correctly with swipes on swiper cowerflow effect 3d carousel #7726

Closed
5 of 6 tasks
Sundalia opened this issue Sep 8, 2024 · 0 comments
Closed
5 of 6 tasks
Labels

Comments

@Sundalia
Copy link

Sundalia commented Sep 8, 2024

Check that this is really a bug

  • I confirm

Reproduction link

https://aboriginal-railway.surge.sh/

Bug description

code examples of my tries to solve:
<SwiperSlide className='swiper_slide'> <div id="first_slide"> <Spline className='spline_slide' scene={t("design_url")}/> <h2 className='swiper_title'>{t("Design")}</h2> </div> </SwiperSlide> <SwiperSlide className='swiper_slide'> <div className='h-[100%] w-[100%]'> <Spline className='spline_slide' scene={t("ad_url")}/> </div> <h2 className='swiper_title'>{t("Advertising")}</h2> </SwiperSlide> <SwiperSlide className='swiper_slide'> <Spline className='spline_slide' scene={t("dev_url")}/> <h2 className='swiper_title'>{t("Development")}</h2> </SwiperSlide>

i need such behavor : when user swiping carousel then pushes to box - box open, now it is not working

Expected Behavior

My respect to you,

and i have a problem, when I came across a non -trivial task of performing some functionality on an already made site, where 3D boxes with reactions to the user’s actions should spin, my head visited the idea to combine the "Spline" and "Swiper" (on the React), everything works well except the moment when I put SwiperSlide inside which the SPLINE element is built -in and Subsequently, the spline object stops responding to the user’s actions, but it works when scrolling page even to the pixel. Below I give a demo where you can see the bold idea that I have realized by neither the laws of physics or and ethical norms:

Actual Behavior

No response

Swiper version

"swiper": "^11.1.10",

Platform/Target and Browser Versions

Linux Fedora 40

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
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant