-1

I have a div with title attribute with 4000 characters but when I hover over it, it does not show full content. Is there a way to display full content?

https://codesandbox.io/s/strange-hugle-mvwu5

1 Answers1

1

There is a title length limitation as explained here. However, to display all the text you need on hover, you can use existing implementations of tooltips, such as v-tooltip. It will be even more appropriate, since title

Represents advisory information for the element, such as would be appropriate for a tooltip. On a link, this could be the title or a description of the target resource; on an image, it could be the image credit or a description of the image; on a paragraph, it could be a footnote or commentary on the text; on a citation, it could be further information about the source; on interactive content, it could be a label for, or instructions for, use of the element; and so forth.

Alex Brohshtut
  • 1,845
  • 12
  • 13