Forum Discussion

Anonymous's avatar
Anonymous
Not applicable
7 years ago

Full screen background colour issue

Hi All,

 

Recent Chrome version update has caused a problem with Power Bi Embedded content, when viewing report in full screen (using javascript report.fullscreen()) background goes black was fine before, any ideas?

 

Fullscreen goes blackok

 

Cheers

 

Mark

4 Replies

    • Anonymous's avatar
      Anonymous
      Not applicable

      Yes, here is the long-winded expanation from our developer :smileywink:

       

      What happened is that when we were developing embedment I noticed the grey margins and wanted them to be white so changed the background property to ‘Transparent’ which on Chrome turned them white

       

      However Goggle changed Chrome so it was black instead of white in the latest release, when I reverted the above BackgroundType property to Default the grey margins returned but the report was white as it says above.

       

      So reading the documentation again I realised my mistake was to take the Chrome background default for a div as white and not force it to be white regardless of the browser default.

       

      So now I’ve restored the Transparent as the documentation above says and forced the div to be a white background, see below.

       

       

      This now means it’s all working as before with white margins and white background when in full screen .

       

       

      • aspppbi's avatar
        aspppbi
        Regular Visitor

        Thank you very much for the explanation ! :smileyhappy:

        It works great !