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

Radio input inside swiper slide #5513

Closed
5 of 6 tasks
DarkRaveN85 opened this issue Mar 2, 2022 · 9 comments
Closed
5 of 6 tasks

Radio input inside swiper slide #5513

DarkRaveN85 opened this issue Mar 2, 2022 · 9 comments

Comments

@DarkRaveN85
Copy link

Check that this is really a bug

  • I confirm

Reproduction link

https://codepen.io/adasdad/pen/OJOaGZd

Bug description

Hi,

Swiper 8.0.6
If you add radio inputs inside the slide (and any form elements - buttons, checkboxes, text inputs, etc.) and for example click on the radio in the 4th slide, then the carousel "jumps" and makes the slide in which you checked the input active and moves it to the first position.
Before that, I used Swiper 6.6.2 of the swiper and there was no such problem.

Expected Behavior

No response

Actual Behavior

No response

Swiper version

8.0.6

Platform/Target and Browser Versions

Windows 10

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
@DarkRaveN85 DarkRaveN85 changed the title Radio input insode swiper slide Radio input inside swiper slide Mar 2, 2022
@RomkaGall
Copy link

I have the same problem with the Select tag

@DarkRaveN85
Copy link
Author

I have the same problem with the Select tag

I could not solve it, I returned to v6.6.2

@RomkaGall
Copy link

Yes, on 6.8.4 it is working. Thank you!

@davide93
Copy link

Same problem on v8.x

@davide93
Copy link

#5524

@Blacklightdesign
Copy link
Contributor

I have a solution that mobile touch on ui elements like links or select fields no longer makes the slide jump to first place. Touch events also trigger a focus event. I added a condition to check that the focus event was not triggered by touch.
#6139

@stale
Copy link

stale bot commented May 21, 2023

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.

@stale stale bot added the stale label May 21, 2023
@AhmedNasser1010
Copy link

also same issue in v10.2.0

@stale stale bot removed the stale label Sep 8, 2023
@nolimits4web
Copy link
Owner

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:

  • Clearly describe the issue including steps to reproduce when it is a bug.
  • Make sure you fill in the earliest version that you know has the issue.
  • Provide live link or JSFiddle/Codepen or website with issue

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

6 participants