Skip to content

Wrapping around transition component throws when transition is toggled before it has completed previously #3716

Closed
@A-Babin

Description

@A-Babin

Version

3.0.11

Reproduction link

link

Steps to reproduce

Toggle the check box to start the transition, then toggle it again before it has completed.

Try replacing the custom-transition component with the standard transition

What is expected?

Should be able to toggle a transition as quickly as I like.

What is actually happening?

A warning and two errors are thrown. Any further attempts to
toggle the transition at all produces the same errors.

[Vue warn]: Unhandled error during execution of scheduler flush. This is likely a Vue internals bug. Please open an issue at https://new-issue.vuejs.org/?repo=vuejs/vue-next 
  at <BaseTransition appear=false persisted=false mode=undefined  ... > 
  at <Transition name="fade-inout" class="fade-inout" > 
  at <CustomTransition name="fade-inout" > 
  at <App>
Uncaught TypeError: Cannot read property '0' of undefined
    at Object.on_console (index.969554ad.js:1)
    at pw.handle_repl_message (index.969554ad.js:1)
    at handle_event (index.969554ad.js:1)
 Uncaught (in promise) TypeError: Cannot read property '_leaveCb' of null
    at Object.beforeEnter (vue.runtime.esm-browser.js:3490)
    at mountElement (vue.runtime.esm-browser.js:5938)
    at processElement (vue.runtime.esm-browser.js:5882)
    at patch (vue.runtime.esm-browser.js:5802)
    at componentEffect (vue.runtime.esm-browser.js:6369)
    at reactiveEffect (vue.runtime.esm-browser.js:342)
    at callWithErrorHandling (vue.runtime.esm-browser.js:1335)
    at flushJobs (vue.runtime.esm-browser.js:1561)

Metadata

Metadata

Assignees

No one assigned

    Labels

    🐞 bugSomething isn't workinghas workaroundA workaround has been found to avoid the problem

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions