-
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
TreeTable: Rows are not aligned when frozen #5508
Comments
OK PR submitted can you please review it? |
By the way,the classname selector should be replaced by |
Which classname selector do you mean? |
example primereact/components/lib/treetable/TreeTable.js Lines 372 to 374 in c4f5a70
Other components may also exist |
Oh yeah I think Datatable has a bunch of these also. Can you create a new ticket that mentions DataTable and TreeTable have lots of these that need to be converted to |
ok, I will deal with it when I go to work tomorrow. If I have more time, I can pr
|
Awesome! |
Describe the bug
primereact/components/lib/treetable/TreeTableScrollableView.js
Line 90 in ad94ff5
If page does not have scrollbar ,DomHandler.calculateScrollbarWidth return 0
paddingBottom should be calculated based on this DOM
I am not sure use
DomHandler.find(findDataTableContainer(elementRef.current), '[data-pc-section="scrollablebody"]')[1]
is safety and best wayReproducer
https://codesandbox.io/p/sandbox/primereact-demo-forked-thzsmk?file=%2Fsrc%2Findex.js%3A9%2C22
PrimeReact version
latest
React version
18.x
Language
TypeScript
Build / Runtime
Create React App (CRA)
Browser(s)
No response
Steps to reproduce the behavior
No response
Expected behavior
No response
The text was updated successfully, but these errors were encountered: