bfwg/ngx-drag-scroll

indexChanged doesn't triggered sometimes

angularuser2 opened this issue · 5 comments

  • I'm submitting a ...

    • bug report
    • feature request
    • support request => Please do not submit support request here, see note at the top of this template.
  • What is the current behavior?
    Sometimes indexChanged event doesn't triggered when dragging or scrolling.

You can reproduce this on your demo page. Just try to drag the carousel to the right and then back to the left (repeat several times).
image

image

  • What is the expected behavior?
    I expect to get the correct index when I subscribe to indexChanged.

  • Please tell us about your environment:
    Browser: Chrome

Hi @bfwg! Do you have any news on this?

bfwg commented

Hi @angularuser2 , I haven't got a chance to look at this. I'll try to find time this weekend and take a look.

bfwg commented

Hi @angularuser2 ,do you think you can make a PR for this?

Hi @bfwg , I'm not sure since I'm novice in Angular. This issue is quite significant for me. So if you don't have a chance to fix this, please let me know and I'll try to make a PR.

bfwg commented

Hey @angularuser2 , happy new year. My baby girl just born, and I don't have a lot of time looking into this. However, if you want to take a look and create a PR, I will be happy to guide and do the review for you. Thanks!