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

Ellipsis组件在Collapse里使用时,第一次打开页面加载时,会出现展开一下空白,然后再收起得 #6619

Closed
yangqiyyds opened this issue May 9, 2024 · 1 comment · Fixed by #6627
Labels

Comments

@yangqiyyds
Copy link

Version of antd-mobile

5.36.0

Operating system and its version

iOS, Android, Others

Browser and its version

chrome 124.0.6367.119

Sandbox to reproduce

https://codesandbox.io/p/sandbox/ellipsis-collapse-use-tzt3px?file=%2Fsrc%2FApp.js%3A10%2C16

What happened?

复现

Relevant log output

No response

@yangqiyyds yangqiyyds added the bug label May 9, 2024
@yezhonghu0503
Copy link
Contributor

俺来试试,似乎计算高度的时候把content完整的高度计算进去了

yezhonghu0503 added a commit to yezhonghu0503/ant-design-mobile-fixbug that referenced this issue May 20, 2024
zombieJ added a commit that referenced this issue May 21, 2024
* fix: collapse component expands blank issue #6619

* refactor: adjust logic

* docs: rollback of demo

---------

Co-authored-by: 二货机器人 <smith3816@gmail.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants