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

$refs not updated prior to 'post' watchers #1852

Closed
skirtles-code opened this issue Aug 14, 2020 · 0 comments · Fixed by #1854
Closed

$refs not updated prior to 'post' watchers #1852

skirtles-code opened this issue Aug 14, 2020 · 0 comments · Fixed by #1854

Comments

@skirtles-code
Copy link
Contributor

Version

Latest master @ ac81dcf

This problem did not occur with 3.0.0-rc.5.

Reproduction link

https://codesandbox.io/s/cranky-mcclintock-6tdfd?file=/index.html

Steps to reproduce

  1. Open the console log.
  2. Click the button.
  3. Observe that ref1 is not populated when the watch handler is called.

What is expected?

The $refs should be updated prior to any flush: 'post' watchers being called.

What is actually happening?

The $refs are updated after the watchers.

yyx990803 pushed a commit that referenced this issue Aug 14, 2020
@github-actions github-actions bot locked and limited conversation to collaborators Nov 7, 2023
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant