question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Dropdown elements such as ngx-dropdown are hidden with overflow

See original GitHub issue

I’m submitting a … (check one with “x”)

[ x ] bug report => search github for a similar issue or PR before submitting
[ ] feature request
[ ] support request => Please do not submit support request here, post on Stackoverflow or Gitter

Current behavior Have a dropdown / ngx-dropdown in a data cell

Expected behavior Dropdown should work

Reproduction of the problem use the following code

<ngx-dropdown>
                <ngx-dropdown-toggle>
                    <button class="btn btn-default">
                        test
                    </button>
                </ngx-dropdown-toggle>
                <ngx-dropdown-menu>
                    <ul class="vertical-list">
                        <li> test </li>
                        <li> test </li>
                    </ul>
                </ngx-dropdown-menu>
            </ngx-dropdown>

What is the motivation / use case for changing the behavior?

Please tell us about your environment:

  • Table version: 0.8.x
  • Angular version: 2.0.x
  • Browser: [all | Chrome XX | Firefox XX | IE XX | Safari XX | Mobile Chrome XX | Android X.X Web Browser | iOS XX Safari | iOS XX UIWebView | iOS XX WKWebView ]
  • Language: [all | TypeScript X.X | ES6/7 | ES5]

Issue Analytics

  • State:open
  • Created 6 years ago
  • Reactions:3
  • Comments:12

github_iconTop GitHub Comments

6reactions
caugellocommented, Dec 13, 2018

I’ve solved my issue with:

.datatable-body-cell {
  overflow-y: visible !important;
  overflow-x: visible !important;
}

 .ngx-datatable {
  overflow-x: visible !important;
  overflow-y: visible !important;
}
3reactions
lmedeiroscommented, Dec 15, 2017

Try adding this css style

.datatable-body-cell { overflow-x: visible !important; }

It worked for me with a bootstrap dropdown inside a cell

Read more comments on GitHub >

github_iconTop Results From Across the Web

Bootstrap dropdown clipped by overflow:hidden container ...
I had the dropdown inside a bootstrap table with overflow hidden. ... I added style="position: inherit" to those div elements within the panel...
Read more >
overflow:hidden; (submenu truncated by theme CSS)
In CSS, the overflow property dictates whether content that overflows the bounds of an element will be displayed (overflow:visible) or not (overflow:hidden).
Read more >
Angular Bootstrap
Bootstrap 5 and Bootstrap 4 widgets for Angular: accordion, alerts, buttons, carousel, collapse, datepicker, dropdowns, modals, pagination, popover, ...
Read more >
Ngx-Dropdown Visibility Within Table Using Property ...
dropdownitem elements using the cursor keys and close the menu with the ... such as OData value number or string Specifies the hidden...
Read more >
How to show ellipses or work wrag on long description in ...
I tried adding a class to the kendo-dropdownlist but it does not seem to do anything. .hide-overflow { text-overflow: ellipsis; &...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found