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

Dragging on click (bug?) #222

Closed
franco-onevillas opened this issue Jan 28, 2022 · 4 comments
Closed

Dragging on click (bug?) #222

franco-onevillas opened this issue Jan 28, 2022 · 4 comments

Comments

@franco-onevillas
Copy link

Hi all,

Thank you for this component library, I am testing it and I found a weird behavior (attached video):

Problem:
When I am scrolling on mobile and I touch the carousel it makes this fast swipe to the prev or next slide.

Env:
Quasar framework (vue)

Code:

onMounted(() => {
      const carousel = document.querySelector(
        `#featured-houses-carousel-${props.item.id}`
      );

      if (!carousel) {
        return;
      }

      const myCarousel = new Carousel(carousel, {
        center: $q.screen.gt.xs ? true : false,
      });
    });

Video:
https://user-images.githubusercontent.com/92261640/151599851-c638264d-96b0-403c-a1ae-2d108746872e.mp4

@fancyapps
Copy link
Owner

Hi,

Thanks for pointing to this issue, I'll take a look and try to improve.

@franco-onevillas
Copy link
Author

Hi @fancyapps ,

Thanks to you for this component library and the answer. Please let me know if I can help with anything.

Regards

@fancyapps
Copy link
Owner

Hi, Could you, please, upgrade to the latest (v4.0.24) to see how it works for you now?

@franco-onevillas
Copy link
Author

franco-onevillas commented Feb 25, 2022

Hey @fancyapps , I am so sorry for not answering... was in my holidays :)

I already upgrade to latest version and it's working great!

Thanks for taking the feedback

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