You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@superset.apache.org by "jeanpommier (via GitHub)" <gi...@apache.org> on 2026/10/01 15:14:29 UTC

[I] Content overflow if Superset doesn't have 100% of the viewport [superset]

jeanpommier opened a new issue, #44867:
URL: https://github.com/apache/superset/issues/44867

   ## Screenshot
   
   <img width="1000" height="939" alt="Image" src="https://github.com/user-attachments/assets/3c3ecf4d-0c9b-432f-a796-c7e1876f19c1" />
   
   ## Description
   In the context of the geOrchestra project, we have integrated Superset in the platform. Usually, we're adding a menu (a web component) on top of the integrated app.
   
   With Superset 5, the integration was seamless. But I've just noticed that starting with Superset 6, the menu header is pushing the Superset content below and the bottom end just disappears (overflow:hidden).We loose the 80 last pixels in height, meaning we loose for instance the "Create Chart' button, which is a bummer.
   
   ***I've reproduced the same behaviour with Superset 7.0 branch.***
   
   I first thought a bit of CSS might solve it, but I'm not so sure about this. Claude AI also says so:
   > Superset scrolls and listens on window in several places:
   > - views/ScrollToTop.tsx:27: window.scrollTo(0, 0) when the route changes
   > - DashboardContainer.tsx:337-342: reads window.scrollY and scrolls back to the top
   > - TabsRenderer.tsx:307: scrolls the window to bring a tab into view
   > - DashboardBuilder.tsx:663: listens for window scroll to recompute the filter bar's bottom offset
   > 
   > With #app scrolling, these silently stop working: pages don't reset to the top on navigation, and tab-into-view scrolling stops. So flex on body turns out not to be a good fit here.
   
   I don't know if this is to be considered a bug or a design choice and if we'll be the only ones concerned. 
   
   
   


-- 
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: notifications-unsubscribe@superset.apache.org.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: notifications-unsubscribe@superset.apache.org
For additional commands, e-mail: notifications-help@superset.apache.org


Re: [I] Content overflow if Superset doesn't have 100% of the viewport [superset]

Posted by "sadpandajoe (via GitHub)" <gi...@apache.org>.
sadpandajoe commented on issue #44867:
URL: https://github.com/apache/superset/issues/44867#issuecomment-5942607235

   @jeanpommier your screenshot is broken, i'm guessing it's because images are stored in a private repo. I don't really understand the use case you have. So you are embedding Superset and you want to inject another menu on top of your Superset instance? 


-- 
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: notifications-unsubscribe@superset.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: notifications-unsubscribe@superset.apache.org
For additional commands, e-mail: notifications-help@superset.apache.org


Re: [I] Content overflow if Superset doesn't have 100% of the viewport [superset]

Posted by "sadpandajoe (via GitHub)" <gi...@apache.org>.
sadpandajoe closed issue #44867: Content overflow if Superset doesn't have 100% of the viewport
URL: https://github.com/apache/superset/issues/44867


-- 
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: notifications-unsubscribe@superset.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: notifications-unsubscribe@superset.apache.org
For additional commands, e-mail: notifications-help@superset.apache.org


Re: [I] Content overflow if Superset doesn't have 100% of the viewport [superset]

Posted by "jeanpommier (via GitHub)" <gi...@apache.org>.
jeanpommier commented on issue #44867:
URL: https://github.com/apache/superset/issues/44867#issuecomment-5991877429

   Screenshot broken ? I've opened it in a private browsing session (I'm not logged in), it shows nicely. The image was inserted from GH interface as usual, no private access. @sadpandajoe can you confirm you still can't see it ? I can publish is somewhere else if necessary.
   
   Let me re-explain then: I *do* inject another menu on top of the superset instance. And this is causing the Superset UI to shift down by the same height. It doesn't adjust (at least in height) if Superset isn't given 100% of the viewport. Which means that the bottom of the Superset window is invisible to the user, which makes it practically unusable (for instance the "Create chart" button gets hidden).
   This makes me think I'm probably not the only one concerned: whatever you're adding on top: menu, banner, etc would  cause this.
   
   This didn't happen with Superset 5, it started with 6 and is still true for 7.0 branch.
   
   The quick workaround is to *not*  inject anything of course. But a proper fix, at least according to Claude (I'm no frontend designer) requires changes in the frontend code. 


-- 
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: notifications-unsubscribe@superset.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: notifications-unsubscribe@superset.apache.org
For additional commands, e-mail: notifications-help@superset.apache.org


Re: [I] Content overflow if Superset doesn't have 100% of the viewport [superset]

Posted by "jeanpommier (via GitHub)" <gi...@apache.org>.
jeanpommier commented on issue #44867:
URL: https://github.com/apache/superset/issues/44867#issuecomment-6054510081

   Thank you very much @sadpandajoe.
   It might be worth backporting on 6.x branch, it is also affected.


-- 
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: notifications-unsubscribe@superset.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: notifications-unsubscribe@superset.apache.org
For additional commands, e-mail: notifications-help@superset.apache.org