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

fix(components): [cascader] reactive size change #12294

Merged
merged 8 commits into from
Jul 23, 2023

Conversation

MrWeilian
Copy link
Contributor

fixed: #12263 fixed cascader height is changed by reactive size changed

Please make sure these boxes are checked before submitting your PR, thank you!

  • Make sure you follow contributing guide English | (中文 | Español | Français).
  • Make sure you are merging your commits to dev branch.
  • Add some descriptions and refer to relative issues for your PR.

@pull-request-triage
Copy link

👋 @MrWeilian, thank you for contributing element-plus.

  • You can comment with /label Components:[component_name] to add a label for which component you are working on.
  • You may join our Discord for staying tuned.

@github-actions
Copy link

github-actions bot commented Apr 2, 2023

@github-actions
Copy link

github-actions bot commented Apr 2, 2023

Hello @MrWeilian, thank you for contributing to element-plus, please see our guideline to see how to make contribution

@github-actions
Copy link

github-actions bot commented Apr 2, 2023

🧪 Playground Preview: https://element-plus.run/?pr=12294
Please comment the example via this playground if needed.

@MrWeilian
Copy link
Contributor Author

playground

@chenxch
Copy link
Member

chenxch commented Apr 2, 2023

@MrWeilian Good job, would you mind adding a test for it?

@MrWeilian
Copy link
Contributor Author

hi, xc boss, It seems that the height is failed to get in test job, it is difficult to finish the test job by comparing the height of style, I have tried many times but still can't. Do you have some advice for this situation?
image

@chenxch
Copy link
Member

chenxch commented Apr 3, 2023

@MrWeilian You can submit it for a try.

@chenxch
Copy link
Member

chenxch commented Jul 10, 2023

/cc @element-plus/backers

@chenxch chenxch merged commit f93a9eb into element-plus:dev Jul 23, 2023
9 checks passed
@element-bot element-bot mentioned this pull request Aug 4, 2023
3 tasks
consultation-applio pushed a commit to consultation-applio/element-plus that referenced this pull request Nov 10, 2023
* fix(components): [cascader] reactive size change

* fix(components): [cascader] update style after calc

* fix(components): [cascader] add test

* fix(components): [cascader] mock offsetHeight

* fix(components): [cascader] size type

* fix(components): [cascader] spy on getter for height

* fix(components): [cascader] mock css var

* fix(components): [cascader] add comment
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

[Component] 对于开启多选模式的el-cascader与el-select,动态修改尺寸size失败
3 participants