Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Leaving transition element not reacting to changes triggered in before-leave hook #4795

Open
khalo-sa opened this issue Oct 14, 2021 · 1 comment
Labels
has workaround A workaround has been found to avoid the problem scope: transition

Comments

@khalo-sa
Copy link

khalo-sa commented Oct 14, 2021

Version

3.2.20

Reproduction link

SFC Playground

Steps to reproduce

  • Click the hide button

What is expected?

Both buttons turning red and becoming disabled as a result of the "disabled" variable becoming "true".

What is actually happening?

Only the "show" button, which is not part of the transition reacts as expected. The "hide" button seems to be immutable during the "leave" transition period.


@posva
Copy link
Member

posva commented Oct 14, 2021

I suspect this is expected as mentioned in the other issue but I also see how this would be very useful.

@posva posva added the has workaround A workaround has been found to avoid the problem label Oct 14, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
has workaround A workaround has been found to avoid the problem scope: transition
Projects
None yet
Development

No branches or pull requests

2 participants