srinigk commented on issue #23793:
URL: https://github.com/apache/superset/issues/23793#issuecomment-1676334281

   This issue is real and is behaving similarly for me as well. No matter what 
attribute I try to set, the iframe within which the Superset dashboard is 
rendered is fixed to 300x150. 
   
![Untitled](https://github.com/apache/superset/assets/16533496/06830213-b0e6-48e6-bcc2-af34c9ea73a6)
   
   My code looks like below:
   
   const Dashboard = () => {
     useEffect(() => {
       embedDashboard({
         id: dashboardId, // given by the Superset embedding UI
         supersetDomain: supersetDomain,
         mountPoint: document.getElementById("my-superset-container"), // any 
html element that can contain an iframe
         fetchGuestToken: () => fetchGuestTokenFromBackend(),
         dashboardUiConfig: {
           // dashboard UI config: hideTitle, hideTab, hideChartControls, 
filters.visible, filters.expanded (optional)
           hideTitle: true,
           filters: {
             expanded: false
           }
         }
       });
     }, []);
     return (
       <div>
         <p>This is dashboard</p>
   
         <div
           id="my-superset-container"
           style={{ width: "100vw", height: "100vh" }}
         ></div>
       </div>
     );
   };


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to