aschuch / StatefulViewController

Placeholder views based on content, loading, error or empty states
MIT License
2.14k stars 149 forks source link

Remove overlay between states animation #53

Closed AgapovOne closed 2 years ago

AgapovOne commented 7 years ago

Moving between states offers animation where new view raises it's opacity, and an old view just stays the same. Then the old view is removed from superview in one flash. I suggest adding animation from 1 to 0 for old views that are available in moving between states.

Before: Gif After: Gif

Or you can suggest any other solution to this.

aschuch commented 7 years ago

I am unable to reproduce the issue with the sample project. Could you please elaborate on your setup where this issue occurs?