6.7.4
footerClassName is not being honored
https://codesandbox.io/s/r1xnrox1o
fixed in #619
@gary-menzel @hansena still not work with latest version v6.7.6
Tested in https://codesandbox.io/s/9z8469xlpw
Is the fix released yet?
Yes - but it looks like the fix provided by @hansena was not properly merged into the file.
But there are workarounds....
You'll have to use getTfootTdProps override on the table (and return a className in the object) until it can be looked at again.
You can also override getFooterProps on the column and do the same thing.
There are no automated tests and there are probably too many places where the same thing can be done.
Closing due to issue age. If you think this issue needs to be reopened, please check the latest version of React-Table for the issue once more and reopen if appropriate. Thanks!
I encountered this issue with version 6.8.5. Can this be reopened?
+1
Still having this issue on 6.8.6
Me too
this is still occuring on 6.9.2. Here is a sandbox example, the last name footer is set to text-right which is not set:
This still appears to be an issue in 6.10.3. @gary-menzel's workaround worked for me.
Instead off defining
footerClassName: 'custom-class'
try:
getFooterProps: () => ({
className: 'custom-class'
}),
Most helpful comment
this is still occuring on 6.9.2. Here is a sandbox example, the last name footer is set to text-right which is not set:
https://codesandbox.io/s/y51w2k17x