fluentui icon indicating copy to clipboard operation
fluentui copied to clipboard

Persona: Text cannot truncate in IE11

Open ipip2005 opened this issue 9 years ago • 4 comments

Bug Report

  • Package version(s): latest
  • Browser and OS versions: IE11

Describe the issue:

In IE11, if the persona width is limited and the text content is a little long, it won't truncate the text. In Chrome it behaves right.

Actual behavior:

Text not truncated in IE11 image

Expected behavior:

Text truncated like it is in Chrome image

ipip2005 avatar Feb 17 '17 15:02 ipip2005

@ipip2005 is this an already selected item or in suggestions?

joschect avatar Feb 23 '17 18:02 joschect

I can't found an codepen for persona so I just tried a repro step in demo page.

  1. Go https://fabricreact.azurewebsites.net/fabric-react/master/#/examples/persona
  2. Find any persona control.
  3. In debugger, inspect this control, and find the element with classname "ms-Persona ms-Persona--xl ms-Persona--blocked"
  4. modify style, add "width: 200px" (Or other number that will make the card shorter).

Actual: In IE, the text is not truncated, In Chrome it did. Expected: In IE the text should also be truncated.

ipip2005 avatar Mar 03 '17 09:03 ipip2005

https://github.com/OfficeDev/office-ui-fabric-react/pull/1219

aleksandrjPersonal avatar Mar 08 '17 20:03 aleksandrjPersonal

fixed in #1219

micahgodbolt avatar Mar 10 '17 22:03 micahgodbolt