ios-swift-collapsible-table-section icon indicating copy to clipboard operation
ios-swift-collapsible-table-section copied to clipboard

Arrow animation from down to up not animating

Open Mvdl opened this issue 5 years ago • 1 comments

Hi. I found out that the arrow in the header is not animating on both states; from up to down and from down to up. If the cells are growing, the arrow animates nicely 90 degrees clockwise from up to down, but the other way around it just 'jumps' without animation. You can make this easy visible by slowing the animation down to a second or 3. Is this intended behavior? Is there a way to make the animation back up also smooth?

Mvdl avatar May 17 '19 16:05 Mvdl

Never mind, I also found out that an animation duration of 0.25 seconds or more causes this issue. 0.2 seconds is probably just fast enough before the HeaderView gets (re)initialized and so the full animation will be visible.

Mvdl avatar May 18 '19 07:05 Mvdl