Skip to content
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

sticky: 'right', works incorrectly, on multi-level column headers in the number of more than two. #30

Open
marchenkovdmitry opened this issue Mar 9, 2021 · 0 comments

Comments

@marchenkovdmitry
Copy link

marchenkovdmitry commented Mar 9, 2021

To correct this behavior, replace rightMargin += columns[i].width in the getMarginRight method on rightMargin += columns[i]. totalWidth; I think that the design of the react-table api has changed. I attach screenshots:
correct behaviour:
Снимок экрана 2021-03-09 в 12 25 59
Снимок экрана 2021-03-09 в 12 26 06
incorrect behaviour:
Снимок экрана 2021-03-09 в 12 26 23
Снимок экрана 2021-03-09 в 12 26 29
Снимок экрана 2021-03-09 в 12 26 36

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant