enact icon indicating copy to clipboard operation
enact copied to clipboard

Adding animation flag for the scroller / vertualList

Open ahmad-crossplatform opened this issue 6 years ago • 0 comments

Category

  • [ ] New component
  • [x] New feature for existing component
  • [ ] Modification of existing component or feature
  • [ ] Other

Description

The animation for the scroller is smooth and nice. However it comes with some costs like CPU consumption , hard to depend on OnScrollStop to track the last position of the scroller as the use might do any activity while the scroll is scrolling .

So i would suggest to add a property can be called isAnimated which set by default to true, so if it set to false the OnScroll wont be active and only OnScrollStop would work and of course the scroller would jump to the position with no animation .

ahmad-crossplatform avatar Oct 29 '19 09:10 ahmad-crossplatform