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

Last line length changes when parent component set to display none #141

Open
james-jenkinson opened this issue Dec 31, 2020 · 0 comments
Open

Comments

@james-jenkinson
Copy link

When the text to be truncated is part of a component who's display property is set to none, on re-appearing the length of the last line changes, often causing a new line.

Example can be seen here: https://codepen.io/jajenkinson/pen/PoGQRRb?editors=0110

Steps to reproduce

  • Hover of the card
  • Confirm the text is properly truncated to three lines
  • Hovering multiple times the text will remain correctly truncated
  • Click the button to hide the card
  • Click again to show the card
  • Confirm the text is incorrectly truncated
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

No branches or pull requests

1 participant