fluentui icon indicating copy to clipboard operation
fluentui copied to clipboard

withViewport: if content is initialized hidden, it is never rendered when shown.

Open dzearing opened this issue 10 years ago • 3 comments

If you render the DetailsList in a hidden DIV, and then do something that causes the DIV to become visible, the withViewport decorator is never made aware of the change, so it doesn't re-render.

Consider a solution like:

https://www.npmjs.com/package/element-resize-event

dzearing avatar Sep 07 '16 22:09 dzearing

...or have an option in List/DetailsList to at least render some content in scenarios that can't be measured (hidden div, server side rendering, etc)

dzearing avatar Oct 24 '16 20:10 dzearing

Starting on this

aleksandrjPersonal avatar Jan 27 '17 22:01 aleksandrjPersonal

Looks like we have closed the issue so updating the status to close.

gitjain avatar Mar 22 '17 19:03 gitjain