Skip to content

Navigation Menu

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up

Can we use Teleport to move component before unmounting? #13034

Unanswered
ghiscoding asked this question in Help/Questions
Discussion options

My use case is a data grid that uses virtual-scroll and some of the rows can be expanded and contain different Vue component. When I start scrolling, I know when the expanded row becomes out of the viewport and before it gets unmounted. So is it possible to use Teleport in this case? That is to use Teleport to move the component before it gets destroyed by the virtual scroll and whenever it comes back into the viewport then the Teleport comes back to the origin... is that possible with Teleport? If not, are there any other suggestions? I would like to keep the component and its state

You must be logged in to vote

Replies: 0 comments

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
1 participant

AltStyle によって変換されたページ (->オリジナル) /