bug(GlTruncateText): truncate does not expand
Summary
- when clicking the the
Show morebutton, the text does not expand for some situations
Links
How to reproduce
- Upload a GitLab Ultimate license
- Navigate to a project => Secure => Policies => New policy =? Merge request approval policy
- Select scan type
License scan=> Add many licenses - Save the policy, merge the merge request, and navigate back to the project => Secure => Policies
- Checkout the branch at Draft: Truncate long summary text (gitlab!143732 - closed)
- Select the policy in the list
- Verify the summary is truncated and can be expanded
Current behavior
The truncated text does not expand
Expected behavior
The truncate text does expand
Implementation
- Look at the saved conversation at gitlab!143732 (comment 1758787801) for ideas on how to fix this
- Additional discussion of this issue in this thread: gitlab#464806 (comment 1931617020)
- Potentially related to https://github.com/tailwindlabs/tailwindcss/issues/10994
Edited by Alexander Turinske