You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@superset.apache.org by "aadilmgen-maker (via GitHub)" <gi...@apache.org> on 2025/10/24 15:18:05 UTC
[I] Dropdown menu shows 2 scroll bars. [superset]
aadilmgen-maker opened a new issue, #35833:
URL: https://github.com/apache/superset/issues/35833
## Screenshot
<img width="1508" height="880" alt="Image" src="https://github.com/user-attachments/assets/576e9149-a8a0-453d-a410-13488acc2385" />
## Description
The dropdown menu shows 2 scroll bars.
Using Superset 6.0.0rc2
## Design input
`design:suggest`
Should show only 1 scroll bar.
--
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] Dropdown menu shows 2 scroll bars. [superset]
Posted by "rusackas (via GitHub)" <gi...@apache.org>.
rusackas commented on issue #35833:
URL: https://github.com/apache/superset/issues/35833#issuecomment-3462707449
Not seeing this in Chrome on Mac. What browser are you using?
--
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] Dropdown menu shows 2 scroll bars. [superset]
Posted by "hellomanishahere (via GitHub)" <gi...@apache.org>.
hellomanishahere commented on issue #35833:
URL: https://github.com/apache/superset/issues/35833#issuecomment-3762723470
Hi . I've set up Superset locally with Docker. I’d love to work on this issue and contribute to the Superset frontend. Could you please confirm if this issue is still available and if there are any specific guidelines for the fix? glad to provide screenshots and tests if needed. thanks
--
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] Dropdown menu shows 2 scroll bars. [superset]
Posted by "nishtha-agarwal-211 (via GitHub)" <gi...@apache.org>.
nishtha-agarwal-211 commented on issue #35833:
URL: https://github.com/apache/superset/issues/35833#issuecomment-3660889572
Hi! I’d like to work on this issue if it’s still available.
Thanks!
--
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] Dropdown menu shows 2 scroll bars. [superset]
Posted by "sebramvega (via GitHub)" <gi...@apache.org>.
sebramvega commented on issue #35833:
URL: https://github.com/apache/superset/issues/35833#issuecomment-4579528292
Hi! I'm a student in the CodePath AI301 program and I'd like to work on this issue. I'll start by reproducing the problem locally this week. Any pointers on where to start in the codebase would be appreciated!
--
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] Dropdown menu shows 2 scroll bars. [superset]
Posted by "Pushpen2005 (via GitHub)" <gi...@apache.org>.
Pushpen2005 commented on issue #35833:
URL: https://github.com/apache/superset/issues/35833#issuecomment-3694003213
Hi maintainers,
I’ve gone through this issue and I’m able to reproduce it locally.
I’d like to work on this and submit a PR. Please let me know if that’s okay.
Thanks!
--
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] Dropdown menu shows 2 scroll bars. [superset]
Posted by "hassaansaleem28 (via GitHub)" <gi...@apache.org>.
hassaansaleem28 commented on issue #35833:
URL: https://github.com/apache/superset/issues/35833#issuecomment-3691575224
I reproduced this locally on the latest master and verified that setting height: auto (or removing the fixed height) resolves the double scrollbar issue without regressions in other dropdowns and this actually confirms that #36059 fixes the issue. Happy to assist with additional testing if required.
--
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] Dropdown menu shows 2 scroll bars. [superset]
Posted by "shivamsahu-tech (via GitHub)" <gi...@apache.org>.
shivamsahu-tech commented on issue #35833:
URL: https://github.com/apache/superset/issues/35833#issuecomment-3485231334
@Akarsh-28
Yeah, but there is one more way to resolve it, via changing the styles (overflow, heights etc) of both containers.
So i am just waiting for maintainers before creating PR.
--
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] Dropdown menu shows 2 scroll bars. [superset]
Posted by "shivamsahu-tech (via GitHub)" <gi...@apache.org>.
shivamsahu-tech commented on issue #35833:
URL: https://github.com/apache/superset/issues/35833#issuecomment-3543787798
@dosubot what is the best way to resolve this issue ?
--
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] Dropdown menu shows 2 scroll bars. [superset]
Posted by "rusackas (via GitHub)" <gi...@apache.org>.
rusackas commented on issue #35833:
URL: https://github.com/apache/superset/issues/35833#issuecomment-3910838175
We have a LOT of volunteers willing to work on the issue, it seems.
I have suspicions these volunteers are not all human.
Anyone here is welcome to open a PR.
--
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] Dropdown menu shows 2 scroll bars. [superset]
Posted by "shivamsahu-tech (via GitHub)" <gi...@apache.org>.
shivamsahu-tech commented on issue #35833:
URL: https://github.com/apache/superset/issues/35833#issuecomment-3476334885
**Hey @rusackas,**
This issue exists and is visible on my setup as well.
I've verified it in both **Chrome** and **Firefox** (Ubuntu 24.04), and you can check the images below for reference.
### Before (with issue)

### Cause
In the file
`superset-frontend/packages/superset-ui-core/src/components/Select/Select.tsx`
(at **line 739**), a prop `getPopupContainer` is passed indirectly to the **AntD Select** component.
However, this prop is later **overridden** by the same prop value coming from
`superset-frontend/src/features/databases/DatabaseModal/index.tsx` (at **line 1138**).
```tsx
getPopupContainer={triggerNode =>
triggerNode.parentElement || document.body
}
```
This setup forces the dropdown to render **inside its parent container** instead of the default `document.body`.
Since the parent container has a **limited height** and **overflow constraints**, it causes the dropdown to scroll within the parent component.
### Solution
By default, **Ant Design** renders dropdowns inside `document.body`.
Removing the `getPopupContainer` prop from both locations allows AntD to handle this as intended, fixing the issue of **dual scrollbars** and **clipped dropdowns**.
Additionally, since the `dropdownStyle` prop already defines proper `maxHeight` and `overflow` rules, removing this prop does **not** create any layout or overflow issues.
### After fix

***Please let me know if this is the right approach so i can create a PR.
I'm currently a student and eager to learn from your feedback.***
--
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] Dropdown menu shows 2 scroll bars. [superset]
Posted by "venkatamandavilli-code (via GitHub)" <gi...@apache.org>.
venkatamandavilli-code commented on issue #35833:
URL: https://github.com/apache/superset/issues/35833#issuecomment-4156887864
My Analysis
The issue is related to the UI rendering of dropdown menus in Superset 6.0.0rc2. When the dropdown list exceeds the available viewport height, the component displays **two scroll bars**—one from the dropdown container and another from the internal list element.
From a functional and UX perspective, this creates a cluttered and confusing experience:
- Users see two scroll bars for a single dropdown
- It becomes unclear which scroll bar controls the actual list
- Scrolling feels inconsistent and visually broken
- This behavior is not aligned with standard UI patterns in modern BI tools
Impact on End Users
- Poor user experience when navigating long dropdown lists
- Increased difficulty selecting values
- Visual inconsistency across the interface
- Perception of UI instability or incomplete design
Expected Behavior
The dropdown should display **only one scroll bar**, regardless of list length.
This is the standard behavior in most UI frameworks and ensures:
- Clean, predictable scrolling
- Better usability
- Consistent visual design
Conclusion
This is a UI/UX defect where the dropdown component is applying scroll behavior at both the container and list levels. Removing one of the scrollable layers will resolve the issue and align the dropdown with expected design standards.
--
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] Dropdown menu shows 2 scroll bars. [superset]
Posted by "vinisha1014 (via GitHub)" <gi...@apache.org>.
vinisha1014 commented on issue #35833:
URL: https://github.com/apache/superset/issues/35833#issuecomment-3904337955
Hello,
I’ve set up Superset locally using Docker and was able to review the issue.
I’d like to work on fixing the double scrollbar behavior in the dropdown component. Could you please confirm if this issue is still available to take?
I’ll make sure to include screenshots and any necessary tests with the PR.
thanks...
--
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] Dropdown menu shows 2 scroll bars. [superset]
Posted by "aditikh-76 (via GitHub)" <gi...@apache.org>.
aditikh-76 commented on issue #35833:
URL: https://github.com/apache/superset/issues/35833#issuecomment-3691388437
Hi, I’m new to open source and would like to work on this issue.
Please let me know if it’s okay for me to take it.
--
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] Dropdown menu shows 2 scroll bars. [superset]
Posted by "CodeManBist (via GitHub)" <gi...@apache.org>.
CodeManBist commented on issue #35833:
URL: https://github.com/apache/superset/issues/35833#issuecomment-3512490559
Even i can work. If assigned !
--
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] Dropdown menu shows 2 scroll bars. [superset]
Posted by "Soumashree-Das (via GitHub)" <gi...@apache.org>.
Soumashree-Das commented on issue #35833:
URL: https://github.com/apache/superset/issues/35833#issuecomment-3511906149
If this is not fixed i will work on this issue
--
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] Dropdown menu shows 2 scroll bars. [superset]
Posted by "Lavanya14-Y (via GitHub)" <gi...@apache.org>.
Lavanya14-Y commented on issue #35833:
URL: https://github.com/apache/superset/issues/35833#issuecomment-4098704857
Hi, I am Lavanya. I am a beginner and new to open source. I would like to work on this issue. Could you please guide me on how to start?
--
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] Dropdown menu shows 2 scroll bars. [superset]
Posted by "jbeachy21 (via GitHub)" <gi...@apache.org>.
jbeachy21 commented on issue #35833:
URL: https://github.com/apache/superset/issues/35833#issuecomment-4368612054
Hi, I’d like to work on this issue as a first contribution. Please let me know if this would be a good starting point.
--
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] Dropdown menu shows 2 scroll bars. [superset]
Posted by "Akarsh-28 (via GitHub)" <gi...@apache.org>.
Akarsh-28 commented on issue #35833:
URL: https://github.com/apache/superset/issues/35833#issuecomment-3485112296
Yes, your fix looks correct to me.
The extra scroll bar appears because the dropdown is inside a container that already has scrolling capabilities.
Removing getPopupContainer allows the dropdown to open normally and resolves the issue.
--
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] Dropdown menu shows 2 scroll bars. [superset]
Posted by "Resham2323 (via GitHub)" <gi...@apache.org>.
Resham2323 commented on issue #35833:
URL: https://github.com/apache/superset/issues/35833#issuecomment-3686487585
Hi, I’d like to work on this issue.
I’ll start by understanding the related component and proposed solution. Thanks!
--
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] Dropdown menu shows 2 scroll bars. [superset]
Posted by "dosubot[bot] (via GitHub)" <gi...@apache.org>.
dosubot[bot] commented on issue #35833:
URL: https://github.com/apache/superset/issues/35833#issuecomment-3543800307
<!-- Greeting -->
Hi @shivamsahu-tech! I'm [Dosu](https://go.dosu.dev/dosubot) and I’m helping the superset team.
<!-- Answer -->
The best way to resolve the dual scrollbar issue is to remove the getPopupContainer prop from both the DatabaseModal and the custom Select component for this dropdown. This allows Ant Design to render the dropdown in document.body (its default), which avoids the double scrollbars and clipping issues. This approach is consistent with UI/UX best practices and is already used in other parts of Superset to prevent similar problems. There’s no evidence in the codebase or recent PRs that removing getPopupContainer here would cause side effects, as its use is context-specific and not globally required. Adjusting container styles is possible but more complex and less maintainable than relying on the default dropdown behavior.
<!-- Dosu Comment Footer -->
*To reply, just mention [@dosu](https://go.dosu.dev/dosubot).*
---
<sup>How did I do? [Good](https://app.dosu.dev/response-feedback/84900503-2d9e-44f6-afdf-2e1745425cbc?feedback_type=great_response) | [Irrelevant](https://app.dosu.dev/response-feedback/84900503-2d9e-44f6-afdf-2e1745425cbc?feedback_type=irrelevant_answer) | [Incorrect](https://app.dosu.dev/response-feedback/84900503-2d9e-44f6-afdf-2e1745425cbc?feedback_type=incorrect_sources) | [Verbose](https://app.dosu.dev/response-feedback/84900503-2d9e-44f6-afdf-2e1745425cbc?feedback_type=too_verbose) | [Hallucination](https://app.dosu.dev/response-feedback/84900503-2d9e-44f6-afdf-2e1745425cbc?feedback_type=hallucination) | [Report 🐛](https://app.dosu.dev/response-feedback/84900503-2d9e-44f6-afdf-2e1745425cbc?feedback_type=bug_report) | [Other](https://app.dosu.dev/response-feedback/84900503-2d9e-44f6-afdf-2e1745425cbc?feedback_type=other)</sup> [](https://app.dosu.dev/a28d3c7e-a9d3-459e-9fb6-3a6f9ff4f357/ask?utm_source=githu
b) [](https://go.dosu.dev/discord-bot) [](https://twitter.com/intent/tweet?text=%40dosu_ai%20helped%20me%20solve%20this%20issue!&url=https%3A//github.com/apache/superset/issues/35833)
--
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] Dropdown menu shows 2 scroll bars. [superset]
Posted by "rusackas (via GitHub)" <gi...@apache.org>.
rusackas closed issue #35833: Dropdown menu shows 2 scroll bars.
URL: https://github.com/apache/superset/issues/35833
--
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