antoniocasero / Panels

Panels is a framework to easily add sliding panels to your application
MIT License
1.5k stars 89 forks source link

Ensure present/expand/collapse events fire after animation #19

Closed basememara closed 4 years ago

basememara commented 5 years ago

Thanks for a great and simple library!

I needed to do some UI work after the animation of collapse/expand completes, but noticed it was not behaving as expected. So I moved the events within the completion handler to make sure those events are passed onto me only after the animation completes.

antoniocasero commented 4 years ago

Thank you @basememara ✨