This project is archived. Its data is read-only.

bug(GlTruncateText): truncate does not expand

Summary

  • when clicking the the Show more button, the text does not expand for some situations

Links

truncate-text_demo

How to reproduce

  1. Upload a GitLab Ultimate license
  2. Navigate to a project => Secure => Policies => New policy =? Merge request approval policy
  3. Select scan type License scan => Add many licenses
  4. Save the policy, merge the merge request, and navigate back to the project => Secure => Policies
  5. Checkout the branch at Draft: Truncate long summary text (gitlab!143732 - closed)
  6. Select the policy in the list
  7. 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 Oct 01, 2024 by Alexander Turinske
Assignee Loading
Time tracking Loading