dash-table icon indicating copy to clipboard operation
dash-table copied to clipboard

Dropdown clipped when using overflow on outer div

Open vivekvs1 opened this issue 6 years ago • 5 comments

Hi,

The dropdown seems to render inside the div container, even if only one axes of the div has been rendered with 'scroll' : for eg: 'overflow-x':'scroll'. How do I change this behaviour? This issues seems to be affecting the Dash Docs as well.

table_dropdown_issue

vivekvs1 avatar May 28 '19 16:05 vivekvs1

Is there any workaround to this? I tried to set the z-index for the .Select-menu-outer { }, but couldn't get it to work :(

vivekvs1 avatar Jun 24 '19 16:06 vivekvs1

The short answer to this one is no with the current implementation. The relative parent of that dropdown is inside the table component, which sits inside the "no-overflow" div container, hence getting clipped (or requiring scroll).

The dropdown would need to be rendered with position: fixed and programmatically moved on scroll/resize, etc.

Will tag as an enhancement as it is a legitimate limitation, but there's no plan to address this issue for now.

Marc-Andre-Rivet avatar Sep 09 '19 14:09 Marc-Andre-Rivet

I see. Thanks for the update @Marc-Andre-Rivet. Is there a quick workaround or cheat - an example would be useful if possible :)

I understand that so many new features that are more important are currently being implemented. So i'll wait. THanks :)

vivekvs1 avatar Sep 24 '19 13:09 vivekvs1

Has there been any progress toward fixing this bug? This essentially prevents data entry.

@vivekvs1 Were you able to find a workaround?

ric-evans avatar Mar 09 '21 21:03 ric-evans

Would love to see this resolved

alexobrads avatar Dec 30 '23 04:12 alexobrads