Skip to content

rowSpan doesn't work with useFlexLayout and useResizeColumns #4785

Description

@PhucNgo1711

Describe the bug

I have this set up here with working rowSpan for the top left cell and row header cells.

Screenshot 2023-03-30 at 3 08 59 AM

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.

Screenshot 2023-03-30 at 3 09 40 AM

Your minimal, reproducible example

https://codesandbox.io/s/frosty-cerf-hx5xh2?file=/src/App.js

Steps to reproduce

  1. Open the Code Sandbox
  2. 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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions