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

Slot props in render function is not sync #9699

Labels

Comments

@peterhpchen
Copy link

Version

2.6.8

Reproduction link

https://codepen.io/peterhpchen/pen/MxrRre?editors=1010

Steps to reproduce

  • First number picker is declared in container-two
  • Second number picker is declared by footer slot
  • Change number picker
  • The value of the first number picker would be changed, but the value of the second number picker would not be changed
  • If add slot content in container-two(js code line: 59-61), the value of the second number picker will be changed

What is expected?

There are two situations:

  • If this code is correct(without line:59-61): Both number value should be changed when picker changed.
  • If this code is wrong(should add line:59-61): It should have error message or even not render slot.

What is actually happening?

  • The value of the second number picker should be changed
    Or
  • Error message should be shown or even not render slot.
@posva posva added the bug label Mar 14, 2019
kiku-jw pushed a commit to kiku-jw/vue that referenced this issue Jun 18, 2019
Lostlover pushed a commit to Lostlover/vue that referenced this issue Dec 10, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment