Skip to content

How to set dynamic height for each row #972

Open
@hasakilol

Description

@hasakilol

Describe the bug

#626 The original thread sets dynamic width for each column.

Based on that, I want to set dynamic height for each row but fails.

Your minimal, reproducible example

https://codesandbox.io/p/devbox/tanstack-virtual-grid-dynamic-width-forked-sdchfq?workspaceId=ws_5yhawGbyv43APjso8JAU9M

Steps to reproduce

Refer to: #626 (comment)

  1. Click Edit button on the preview page.

Expected behavior

After clicking Edit button, each row has proper height to contain the input box.

How often does this bug happen?

None

Screenshots or Videos

No response

Platform

  • OS: Windows
  • Browser: Chrome

tanstack-virtual version

v3.13.5

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