Skip to content
This repository has been archived by the owner on Dec 2, 2021. It is now read-only.

AnimationController + minor improvements + fixes

Compare
Choose a tag to compare
@IjzerenHein IjzerenHein released this 01 May 09:28
· 97 commits to master since this release

New

  • Added AnimationController.
  • Added .getEnergy to ScrollController/FlexScrollView.
  • Added noAnimation argument to .replace.
  • Added endState argument to .getSpec for getting the flowing end-state.

Fixes

  • Fixed getFirstVisibleItem returning no item or the wrong item in some scenarios.
  • Fixed pagination not always activated in some scenarios.
  • Fixed bounds-detection bug which could cause strange effects when pulling the scrollview beyond its edge.
  • Fixed boundary scroll issue in ListLayout when spacing was used.
  • Fixed wrong section-header displayed in ListLayout in rare circumstances.
  • Fixed undefined FlexScrollView.Bounds and FlexScrollView.PaginationMode.
  • Fixed exception in .remove when array datasource in used (accidentally introduced in v0.3.0).
  • Fixed ViewSequence corruption when using .insert and an index that matches the number of nodes in the ViewSequence (workaround for Famous/famous#689)

Removed

  • Removed visibleItemThresshold option (no longer necessary due to more solid getFirstVisibleItem impl.)