microsoft / powerbi-client-react

Power BI for React which provides components and services to enabling developers to easily embed Power BI reports into their applications.
MIT License
310 stars 98 forks source link

incorrect width on `displayArea` when showing scrollbar #91

Closed kitsunekyo closed 6 days ago

kitsunekyo commented 1 year ago
image

in our usecase we have a 2 column layout, where an embedded powerbi report is displayed with fitToWidth. it works well, until the report needs to scroll. the scroll overflow is applied within the embed (iframe) on the displayAreaContainer. so this is completely out of our control.

in the example above, the iframe itself is 800pxwide. on overflow, the displayArea element in the iframe is suddenly only 773pxwide (applied via inline styles, by the embed code). which leads to this massive gap.

i would have looked into the source, to find and propose a solution myself, but the embed code is apparently closed source and i cant create issues on the core js library.

v-MadhavC commented 2 months ago

Thank you for reporting this issue. This is an old issue, is it still relevant?

kitsunekyo commented 1 month ago

I've left the related project in the meantime, so I have no way of checking. it was an issue till the end, but has no prio for my anymore. thank you

ayeshurun commented 6 days ago

Thank you for reporting this issue. We closed the issue because it's old.