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(TextEllipsis): should recalculate the ellipsis state when the component is activated #12741

Merged
merged 1 commit into from Mar 31, 2024

Conversation

inottn
Copy link
Collaborator

@inottn inottn commented Mar 30, 2024

fix #12445

@codecov-commenter
Copy link

Codecov Report

Attention: Patch coverage is 96.00000% with 1 lines in your changes are missing coverage. Please review.

Project coverage is 89.84%. Comparing base (f53e134) to head (daf6a18).

Files Patch % Lines
packages/vant/src/text-ellipsis/TextEllipsis.tsx 96.00% 0 Missing and 1 partial ⚠️
Additional details and impacted files
@@            Coverage Diff             @@
##             main   #12741      +/-   ##
==========================================
+ Coverage   89.81%   89.84%   +0.02%     
==========================================
  Files         257      257              
  Lines        6835     6842       +7     
  Branches     1660     1661       +1     
==========================================
+ Hits         6139     6147       +8     
  Misses        369      369              
+ Partials      327      326       -1     

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

@chenjiahan chenjiahan merged commit d87c5e2 into youzan:main Mar 31, 2024
4 checks passed
@chenjiahan
Copy link
Member

👏🏻👏🏻

bluesky335 pushed a commit to bluesky335/vant that referenced this pull request Apr 1, 2024
CatsAndMice pushed a commit to CatsAndMice/vant that referenced this pull request Apr 8, 2024
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.

[Bug Report] 使用keep-alive包裹text-ellipsis切换两个组件时,text-ellipsis组件渲染异常
3 participants