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
refactor: Use native css for measure css line ellipsis #47597
Conversation
Run & review this pull request in StackBlitz Codeflow. |
👁 Visual Regression Report for PR #47597 Failed ❌
Check Full Report for details |
size-limit report 📦
|
This pull request is automatically built and testable in CodeSandbox. To see build info of the built libraries, click here or the icon next to each commit SHA. |
Codecov ReportAll modified and coverable lines are covered by tests ✅
Additional details and impacted files@@ Coverage Diff @@
## master #47597 +/- ##
=========================================
Coverage 100.00% 100.00%
=========================================
Files 734 736 +2
Lines 12593 12594 +1
Branches 3298 3302 +4
=========================================
+ Hits 12593 12594 +1 ☔ View full report in Codecov by Sentry. |
[中文版模板 / Chinese template]
🤔 This is a ...
🔗 Related issue link
💡 Background and solution
使用 css 做高度测量,然后再对比是否需要溢出。以解决精度问题、元素行高不同的问题。同时提供一个接口用于告知当前的 Typography 是否是在可展开、收起状态。
📝 Changelog
☑️ Self-Check before Merge