Ali-Azmoud/flutter_xlider

selectOnTap returns wrong value inside a listview

Opened this issue · 1 comments

I have a listView (build with this package, each 'view' inside my listView has a xlider slider in it.

Even when I strip all unnesecary code and stick to the basics I get the wrong value back from selecOnTap as seen in this video below:

Things to note

  • The first view inside listview works as expected (untill you go to an other one and go back to the first view)
  • Moving the sider via the handler works correctly.
  • When the Axis from the Slider is not equel to the Axis of the listView (e.g. slider is horizontal and the listView is vertical, there are no problems)

Does someone have an idea how I can start debugging this?

Hi @rienkkk
Sorry for my late response, could you please share your slider code so that I can reproduce it. thanks