-
Notifications
You must be signed in to change notification settings - Fork 4.7k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Dropdown rendering below table, Old issue reference #193 #1494
Comments
In addition to the above css changes the Datatable scroll bar is not working. |
I'm having the same issue where the p-dropdown is not rendering outside the current row. I have updated to PrimeNG 1.1.4, and the problem persists. Using @cagataycivici example in #1600 (adding style="overflow:visible") to the p-column results in an error, probably because his fix is for a scrollable table. I am not using a scrollable table.
When I apply the overflow:visible attribute, I get this error:
Is there a known fix for this on non-scrollable datatable? I can create a new issue if needed. Thanks! |
I sorted this out. You have to add square brackets around the style attribute and make sure the css directives are single quoted like so: [style]="{'overflow':'visible'}" Otherwise, the "fix" doesn't work. The dropdown renders as expected now.
|
My suggestion is appendTo="body" on dropdown in cases like these. |
#193 : Dropdown rendering below table
Dropdown overflow is hidden. fix mentioned in #193 is not exists and its not working.
After fixing in PrimeUi.css
From
/* Scrollable */
.ui-datatable-scrollable-body {
overflow:auto;
}
to
/* Scrollable */
.ui-datatable-scrollable-body {
overflow:visible;
}
overflow is working.
The text was updated successfully, but these errors were encountered: