incorrect width on `displayArea` when showing scrollbar
kitsunekyo opened this issue · 3 comments
kitsunekyo commented
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 800px
wide. on overflow, the displayArea
element in the iframe is suddenly only 773px
wide (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.