Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Table crashed #1951

Closed
1122334rr opened this issue Mar 26, 2024 · 1 comment
Closed

Table crashed #1951

1122334rr opened this issue Mar 26, 2024 · 1 comment
Labels
bug Something isn't working needs more info This issue is waiting on more info from author

Comments

@1122334rr
Copy link

Describe the bug (current behavior)

when I update @itwin/itwinui-react (1.42.0--->2.12.22), my table component crashed when reload.
屏幕截图 2024-03-26 145849

Expected Behavior

No response

Link to minimal repro

No response

Steps To Reproduce

No response

Anything else?

No response

@1122334rr 1122334rr added the bug Something isn't working label Mar 26, 2024
@mayank99
Copy link
Contributor

It's impossible for us to help you with just a screenshot of the error. Can you provide more details?

My only guess is that your Table columns contain loose JSX nodes, in which case you can try to use a function instead.

- Header: <MyComponent />
+ Header: () => <MyComponent />

@mayank99 mayank99 closed this as not planned Won't fix, can't repro, duplicate, stale Mar 26, 2024
@mayank99 mayank99 added the needs more info This issue is waiting on more info from author label Mar 26, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working needs more info This issue is waiting on more info from author
Projects
None yet
Development

No branches or pull requests

2 participants