dnldsht / vue-insta-stories

Vue 2 & 3 library for Instagram like stories.
https://vue-insta-stories.donld.me
MIT License
73 stars 10 forks source link

Click throw element, swiping on element #10

Closed W1nner7 closed 2 years ago

W1nner7 commented 3 years ago

Hi, I'm using your stories with this component for my app - rate stars - https://primefaces.org/primevue/showcase/#/rating

But, unfortunately, when clicking on any star element it's changing my current story slide... How can I prevent any actions on my elements to don't swipe to the next or previous story?

gilnd commented 3 years ago

Hey @W1nner7 ,

Have you tried using event modifiers? this should do the job v-on:click.prevent if you put it in your primevue component.

Let me know if it fixed the issue, otherwise we would be happy to help if you could provide an implementation

Cheers! :)

dnldsht commented 3 years ago

If the modifiers didn't do the trick can you provide a codesandbox with your issue so we can investigate more, otherwise Im gonna close this issue