Describe the bug
Setting enableExpanding to false has no effect.
Your minimal, reproducible example
https://stackblitz.com/edit/stackblitz-starters-xwm3zz?file=src%2FApp.tsx
Steps to reproduce
- Select a row whilst
enableRowSelection is set to true. Selection state will change.
- Set
enableRowSelection to false. Selection state won't change if you try selecting a row.
- Expand a row whilst
enableExpanding is set to true. Expansion state will change.
- Set
enableExpanding to false. Expansion state will still change when the user tries to expand a row.
Expected behavior
If enableExpanding is set to false, rows should not be expandable.
How often does this bug happen?
Every time
Screenshots or Videos
No response
Platform
macOS: Firefox, Edge
Fedora: Firefox, Edge
react-table version
v8.9.3
TypeScript version
No response
Additional context
No response
Terms & Code of Conduct
Describe the bug
Setting
enableExpandingto false has no effect.Your minimal, reproducible example
https://stackblitz.com/edit/stackblitz-starters-xwm3zz?file=src%2FApp.tsx
Steps to reproduce
enableRowSelectionis set to true. Selection state will change.enableRowSelectionto false. Selection state won't change if you try selecting a row.enableExpandingis set to true. Expansion state will change.enableExpandingto false. Expansion state will still change when the user tries to expand a row.Expected behavior
If
enableExpandingis set to false, rows should not be expandable.How often does this bug happen?
Every time
Screenshots or Videos
No response
Platform
macOS: Firefox, Edge
Fedora: Firefox, Edge
react-table version
v8.9.3
TypeScript version
No response
Additional context
No response
Terms & Code of Conduct