FancyScrollView icon indicating copy to clipboard operation
FancyScrollView copied to clipboard

Fix performance lag caused by scrollbar value set invoke

Open whilu opened this issue 4 years ago • 0 comments

There is a bug will cause performance lag, the flow like this:

  1. When Scroller.UpdatePosition method is called, the custom onValueChanged action been invoked and the scrollbar value will be set.
  2. Then the scrollbar onValueChanged action will be invoke, and the Scroller.UpdatePosition method been called again, if the custom onValueChanged action is heavy, there will be some lag for UGUI layout.

Thanks for this lib!

whilu avatar Dec 27 '20 10:12 whilu