bfwg/ngx-drag-scroll

Scroll go to start if I click between two items

pseudooriginal opened this issue · 0 comments

  • I'm submitting a ...

    • [x ] bug report
  • Do you want to request a feature or report a bug?
    Report a bug.

  • What is the current behavior?
    I'm using ngx-drag-scroll to scroll in a material chips list. If I click between two chips during my scroll, it go back to the start of the list.

  • If the current behavior is a bug, please provide the steps to reproduce and if possible a minimal demo of the problem you can use the demo site as an example or via https://plnkr.co
    https://stackblitz.com/edit/drag-scroll-with-chips?file=src/styles.css

  • What is the expected behavior?
    I expected a click between two items would not do anything.

  • What is the motivation / use case for changing the behavior?

  • Please tell us about your environment:
    angular: 11.2.7

ngx-drag-scroll: 9.0.0-beta.4

  • Version: 1.0.0
  • Browser: Chrome 86.0.4240.75
  • Other information (e.g. detailed explanation, stacktraces, related issues, suggestions how to fix, links for us to have context, eg. stackoverflow, gitter, etc)