Forum Discussion

coriben's avatar
coriben
Helper I
7 years ago

Power BI Embedded Mobile View showing double vertical scrollbars

I'm using Power BI Embedded with the Javascript API. The report in question does have a mobile version. For testing purposes, I opened the report in the Android Power BI App and it renders perfectly (only one scrollbar, report centered in the canvas). 

 

But in the browser, it renders with two vertical scrollbars:

 

 

The code I'm using to embed:

 

// Values omitted for privacy
		var config= {
			type: this.embedType,
			tokenType: this.tokenType,
			accessToken: this.txtAccessToken,
			embedUrl: this.url,
			id: this.txtEmbedReportId,
			permissions: this.permissions,
			pageView: null,
			settings: {
				filterPaneEnabled: false,
				navContentPaneEnabled: true,
				layoutType: models.LayoutType.MobilePortrait
			}
		};

		this.report = powerbi.embed(this.embedContainer.get(0), config);

Am I doing anything wrong?

 

Thanks in advance.

7 Replies

  • UPDATE

     

    Apparently, setting the report page to something other than "Fit to Width" solves the problem. I gotta know though, can someone from Microsoft confirm that this is the intended behavior? Because it does not look like so. 

     

    Should I file a bug in the API repo?

     

    Thanks!

  • v-jiascu-msft's avatar
    v-jiascu-msft
    Microsoft Employee

    Hi coriben,

     

    Did you test it on the Firefox? If so, that's a known issue about Firefox. The related report ID: CRI 89387049. If not, please provide more details.

     

    Best Regards,
    Dale

    • coriben's avatar
      coriben
      Helper I

      Hello and thanks for replying!

       

      No, I tested it in Chrome v 70.0.3538.110 on Windows 10 build 17134

      And on Chrome for Android v 70.0.3538.80, on Android 6.0.1.

       

      Both present the problem described above.

       

      But knowing that it's a known problem in another browser is good enough, I think. Think I'll give custom layouts a try.

       

      Thanks a lot!