cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
theBIbutler Member
Member

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?

 

issue 2.pngFullscreen goes blackissue 1.pngok

 

Cheers

 

Mark

4 REPLIES 4
aspppbi Frequent Visitor
Frequent Visitor

Re: Full screen background colour issue

Same problem for me...

Any solutions ?

Highlighted
theBIbutler Member
Member

Re: Full screen background colour issue

Yes, here is the long-winded expanation from our developer Smiley Wink

 

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 Frequent Visitor
Frequent Visitor

Re: Full screen background colour issue

Thank you very much for the explanation ! Smiley Happy

It works great !

gamesbx New Member
New Member

Re: Full screen background colour issue

Thank for your example!

Helpful resources

Announcements
New Ranks and Rank Icons in 2020

New Ranks and Rank Icons in 2020

Read the announcement for more information!

New Kudos Given Badges Coming

New Kudos Given Badges Coming

We're rolling out new Kudos Given badges. Find out how many Kudos you've given.

November 2019 Community Highlights

November 2019 Community Highlights

Get an overview of the events and great community content from November.

Power Platform World Tour

Power Platform World Tour

Find out where you can attend!

Top Solution Authors
Top Kudoed Authors (Last 30 Days)