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(comp:text): text blinks when content doesn't exceed one row #1706

Merged
merged 1 commit into from Oct 7, 2023

Conversation

sallerli1
Copy link
Contributor

PR Checklist

Please check if your PR fulfills the following requirements:

  • The commit message follows our guidelines
  • Tests for the changes have been added/updated or not needed
  • Docs and demo have been added/updated or not needed

What is the current behavior?

配置ellipsis.row为1,且文字的长度不足以撑满父容器时,会不停渲染,造成闪烁

What is the new behavior?

修复以上问题,在初始计算内容高度是否超过一行,没有超过则不再进行动态渲染计算

Other information

@idux-bot
Copy link

idux-bot bot commented Oct 7, 2023

This preview will be available after the AzureCI is passed.

@sallerli1 sallerli1 merged commit 5afea2f into IDuxFE:main Oct 7, 2023
5 of 7 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

1 participant