Thanks to visit codestin.com
Credit goes to github.com

Skip to content

bugs: teleport component with router push occur error #9071

@haryan248

Description

@haryan248

Vue version

3.3.4 (latest)

Link to minimal reproduction

https://q8s5xk.csb.app/

Steps to reproduce

i have to router and object props
props has click event to child components
child components also have teleport component

<teleport to="#app">
      <div class="teleport">move</div>
</teleport>

teleport to app occured error
change to Fields('#app') to another class(ex: '.container'), it works

What is expected?

teleport to div tag with id 'app'

What is actually happening?

but it has error loop
image

System Info

No response

Any additional comments?

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    🔨 p3-minor-bugPriority 3: this fixes a bug, but is an edge case that only affects very specific usage.scope: teleport

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions