rowSpan doesn't work with useFlexLayout and useResizeColumns
Nobody has claimed this yet.
- Dominant language
- TypeScript
- Stars
- 28.4k
- Forks
- 3.6k
- Avg merge
- 1d 14h
- Merged PRs (30d)
- 10
Description
Describe the bug
I have this set up here with working rowSpan for the top left cell and row header cells.
I'm trying to use useResizeColumns as well, and looks like it doesn't work without useFlexLayout. But the moment I include useFlexLayout, rowSpan doesn't work anymore. Same for useBlockLayout and useAbsoluteLayout.
Your minimal, reproducible example
https://codesandbox.io/s/frosty-cerf-hx5xh2?file=/src/App.js
Steps to reproduce
- Open the Code Sandbox
- Uncoment line 78
// useFlexLayout
Expected behavior
I'd like to have rowSpan still working with useFlexLayout or useBlockLayout or useAbsoluteLayout
How often does this bug happen?
Every time
Screenshots or Videos
No response
Platform
macOS, Chrome, react 16.8.6
react-table version
v7.8.0
TypeScript version
No response
Additional context
No response
Terms & Code of Conduct
- I agree to follow this project's Code of Conduct
- I understand that if my bug cannot be reliable reproduced in a debuggable environment, it will probably not be fixed and this issue may even be closed.
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start with the linked CodeSandbox and /src/App.js, especially line 78 where useFlexLayout is enabled. Compare rowSpan behavior with useFlexLayout, useBlockLayout, and useAbsoluteLayout against the working setup; done means rowSpan remains functional while column resizing is enabled.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- react, typescript
- Domain
- frontend
- Issue type
- Bug
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100