Closed groman00 closed 7 years ago
👍
afterDestroy()
and destroy()
aren't lifecycle hooks. This just doesn't call vue-flickity's destroy()
method at all.
@chasegiunta Yea you're right, it was a typo. Correcting the hook name to "destroyed" re-introduces the problem. This PR is totally useless. Closing it.
Destroying flickity instance on component's afterDestroy lifecycle event. Prevents widget from visibly losing styles when component exists in a router-view with transition effects.