write in it, so you’re welcome to answer me in russian 😃
Got the following problem:
When I switch the components (as in the example) then it normally switches to the second component with an element which has an transition (in & out).
When I switch the components again, from the component which contains an element with the transition, then the element with the transition starts the out transition and because of that the component renders back in so both component are shown for a while (the first and the second) and then both disappear.
I think that the component with the element is an instance that doesn't get destroyed because of the ongoing out transition, could that be?
https://svelte.dev/repl/a5122281148c4c458f40e317fc4be11e?version=3.12.1
So what’s about it? 😄 What do you guys think, is that more like a Svelte bug? Should I instead create a GitHub issue for it?
кстати, при детальном рассмотрении - это не становится быть похожим на неправильное поведение, так как каждый раз мы рисуем все-таки разные элементы, генерируемые svelte:component, ведь они у нас никак не могут быть сравнены друг с другом
Обсуждают сегодня