fluentui icon indicating copy to clipboard operation
fluentui copied to clipboard

TooltipHost: tooltip truccated in caseof long text that is not space separated

Open vashit opened this issue 9 years ago • 3 comments

Bug Report

  • Package version(s): using //cdnjs.cloudflare.com/ajax/libs/react/15.4.0/react.min.js
  • Browser and OS versions: chrome

Priorities and help requested (not applicable if asking question):

Are you willing to submit a PR to fix? (No)

Requested priority: (Normal)

Describe the issue:

consider a text containing a long name that is not space separated (use case could be slash separated path). hover over it so that tooltip is visible

Actual behavior:

first 51 characters shown in tooltip (english)

Expected behavior:

complete tooltip should be shown

If applicable, please provide a codepen repro:

https://codepen.io/vashita/pen/oZmOrZ

vashit avatar Apr 03 '17 09:04 vashit

This is a css tweak to allow word breaks in the content.

dzearing avatar Apr 03 '17 16:04 dzearing

@gitjain here's one for you. https://developer.mozilla.org/en-US/docs/Web/CSS/word-break

micahgodbolt avatar Apr 03 '17 16:04 micahgodbolt

Issue has been fixed and merged so updating the issue.

gitjain avatar Apr 04 '17 15:04 gitjain