You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Combining useResizeColumns with useFlexLayout or useBlockLayout causes the 'Sticky Header' prop of Material-UI Table to be ignored.
On one hand, adding useFlexLayout or useBlockLayout breaks the 'Sticky Header', on the other, column resizing isn't working without useFlexLayout or useBlockLayout...
In the codesandbox example, both useBlockLayout & useResizeColumns are set and the stickyHeader is ignored. Once useBlockLayout & useResizeColumns are commented out, the stickyHeader is working again.
This discussion was converted from issue #2700 on October 05, 2020 03:35.
Heading
Bold
Italic
Quote
Code
Link
Numbered list
Unordered list
Task list
Attach files
Mention
Reference
Menu
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
-
Combining
useResizeColumns
withuseFlexLayout
oruseBlockLayout
causes the 'Sticky Header' prop of Material-UI Table to be ignored.On one hand, adding
useFlexLayout
oruseBlockLayout
breaks the 'Sticky Header', on the other, column resizing isn't working withoutuseFlexLayout
oruseBlockLayout
...In the codesandbox example, both
useBlockLayout
&useResizeColumns
are set and thestickyHeader
is ignored. OnceuseBlockLayout
&useResizeColumns
are commented out, thestickyHeader
is working again.Beta Was this translation helpful? Give feedback.
All reactions