If the transition is cancelled, the plugin should not fire the callback.
Cancels show/hide transitions when the state changes before they complete.