-
Notifications
You must be signed in to change notification settings - Fork 1.1k
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
DataTable: editMode="cell"
and Dropdown z-Index issue
#5320
Comments
I was able to finally resolve by add overflow visible to the datatable wrapper via passthrough.
|
Thanks. Marked your solution as a good workaround |
This CSS is not solution. In addition, @melloware Re-open this issues please. |
It looks like @artimath also adds "relative" to the paginatorClassName I assumed that was to handle the paginator issue? |
I can't use |
@CRC32EX here is my working StackBlitz: https://stackblitz.com/edit/vitejs-vite-d3su4k?file=src%2FApp.tsx |
@melloware Thank you.
|
I guess the question is why do you want the dropdown to stay open when they scroll the page? According to ARIA standard when you are using the scrollbar of the page the dropdown should close as you are "no longer interacting with the dropdown"???? So to me its the correct behavior? |
Are you talking about this GIF? |
OK but just remove Does that not work for you? |
I have to add |
But my reproducer is working fine. it lets you select the proper dropdown item? Can you please try my reproducer and tell me what is not working? It doesn't need #2666 ? |
Yes it's working But, I'm fixed code. https://stackblitz.com/edit/vitejs-vite-l8d3y6?file=src%2FApp.tsx When i add |
By why do you need |
Your reproducer is not implemented cell editor.
This issues is reproducable with uncomment App.tsx line 28 |
@CRC32EX then I guess I am unclear why |
editMode="cell"
and Dropdown z-Index issue
I provided trimmed code for readable. This is my fault, I'm sorry. I'm should not have do that. |
OK re-opened and I updated the details. |
Fixed for next release so you will be able to remove |
Describe the bug
Required
editMode="cell"
and Dropdown to haveappendTo="self"
https://stackblitz.com/edit/vitejs-vite-l8d3y6?file=src%2FApp.tsx
A
Dropdown disappear when scroll
B (resizableColumns)
Dropdown disappear all times
Reproducer
A
https://stackblitz.com/edit/vitejs-vite-aobqhu?file=src%2FApp.tsx
B (resizableColumns)
https://stackblitz.com/edit/vitejs-vite-dja1u6?file=src%2FApp.tsx
PrimeReact version
10.0.9
React version
18.x
Language
TypeScript
Build / Runtime
Vite
Browser(s)
Chrome Latest(119.0.6045.124)
Steps to reproduce the behavior
No response
Expected behavior
No response
Ref
#2666
The text was updated successfully, but these errors were encountered: