Skip to content

Slot props in render function is not sync #9699

Closed
@peterhpchen

Description

@peterhpchen

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions