lvgl: The roller is not aligned in some cases

Describe the bug

The roller is not aligned: first drag the roller, then click on another object when the roller has not stopped scrolling. At this time the roller may be misaligned.

To Reproduce

I run example the lv_test_roller_1() in lv_examples/lv_tests/lv_test_objx/lv_test_roller, then scroll roller3 and quickly click on roller2.

Expected behavior

When the roller is scrolling, click on other objects, the roller is still aligned.

Screenshots roller

Additional context

About this issue

  • Original URL
  • State: closed
  • Created 5 years ago
  • Comments: 18 (18 by maintainers)

Most upvoted comments

I haven’t found a good solution for it yet. Right now I’m working other features and don’t have time to immerse in it deeper.

I think the current fix you have is effective enough.