Closed slimandslam closed 1 year ago
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.
It's definitely not stale. It's well-documented and clear. It needs resolution. Thanks for botting tho. :-)
I solved the problem by adding overflow: 'auto'
to the table’s style.
As shown below
const fileTableStyles = {
table: {
style: {
height: "430px",
overflow: "auto"
},
},
}
Issue Check list
styled-components
VIDEO IS ATTACHED BELOW SHOWING THE BEHAVIOUR
https://user-images.githubusercontent.com/229575/193338911-ad3d9a80-e103-4d35-ad86-73fe37087b25.mov
Describe the bug
fixedHeader is set to true. Changing fixedHeaderScrollHeight (or even removing it) does not seem to have any effect When I scroll the table, near the bottom/middle, the header starts to scroll up with the table and disappears. Tested on latest MacOS Firefox and Chrome
Expected behavior
I expected the header to remain fixed.
Code Sandbox, Screenshots, or Relevant Code
Versions (please complete the following information)
MacOSX 12.6 Chrome 106.0.5249.61 "styled-components": "5.3.3" "react": "17.0.2", "react-data-table-component": "7.5.3",