KNOWLEDGE BASE

Embedded View defaults to Mobile layout in Browser


Published: 07 Jan 2020
Last Modified Date: 08 Jan 2020

Issue

When embedding a view that utilizes a device layout and the default dashboard size is similar in Width and Height, once embedded, the view may default to the mobile view, rather than the default layout. 

Environment

  • Tableau Desktop 
  • Tableau Public Server 
  • Tableau Server 

Resolution

To workaround this behavior, please consider the following workarounds. 

Option 1: 

Set Default dashboard sizing to "automatic" 

Option 2: 

Set Default Dashboard sizing to "Range" ensuring that the dimensions are greater than 500 pixels. If the smallest dimension is <=500px, we assume it's a phone.

Option 3:

Consider writing your own custom embed code. See Embed Views into Webpages 
 

Cause

The behavior is a known issue that our Development team is aware of and actively working to resolve in a future release of the product. 

 
Did this article resolve the issue?