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

When a button has focus, it swipe not work #4677

Closed
stegano opened this issue Jun 14, 2021 · 0 comments
Closed

When a button has focus, it swipe not work #4677

stegano opened this issue Jun 14, 2021 · 0 comments

Comments

@stegano
Copy link

stegano commented Jun 14, 2021

  • Swiper Version: 6.1.3.
  • Platform/Target and Browser Versions: MacOS, Android, IOS

What You Did

When a button has focus, it does not work.

I checked the source code and it seems to be the intended function of swiperjs.

I think this feature that it created to prevent conflicts with the basic behavior of tags in mobile environment.

However, I don't understand that the swipe doesn't work even if the button has focus. Can anyone please explain? Or is this a bug?

스크린샷 2021-06-14 오후 5 23 40

Test(When the button has focus, it has a red border.)
Jun-14-2021 17-37-46

Expected Behavior

Swiping the button in the slide should work fine.

Actual Behavior

If the button hasn't focused, swiping the button works fine.
Click the button to give it focus, swiping the button doesn't work.

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

1 participant