Uploaded image for project: 'PUBLIC - Liferay Portal Community Edition'
  1. PUBLIC - Liferay Portal Community Edition
  2. LPS-109603

Variable texts with (probably) ellipsis need a manually added data-title attribute

    Details

    • Fix Priority:
      3

      Description

      As exposed in this PR https://github.com/p2kmgcl/liferay-portal/pull/539, we have lots of components (cards, list items, etc. ) with variable text length. Because of this, we may need data-title="" attributes that are shown depending on both the text length and the available space. Currently we do not have a common solution for this, apart from adding/not adding a data-title="" attribute always/never.

      In the mentioned PR there is a possible solution that computes the text length and the available space on mouseover.

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              support-lep@liferay.com SE Support
              Reporter:
              pablo.molina Pablo Molina
              Participants of an Issue:
              Recent user:
              John Co
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved:
                Days since last comment:
                1 year, 25 weeks, 2 days ago

                  Packages

                  Version Package