ant-design/ant-design

Got error when rendering tree at new window

Open

#48,054 建立於 2024年3月24日

在 GitHub 查看
 (4 留言) (0 反應) (0 負責人)TypeScript (98,031 star) (54,612 fork)batch import
Inactivehelp wantedunconfirmed

描述

Reproduction link

Edit on StackBlitz

Steps to reproduce

  1. open the reproduction
  2. click button to open a new window

What is expected?

Tree components are rendered correctly and without errors

What is actually happening?

Got the following error

Cannot read properties of null (reading 'offsetHeight')
Environment Info
antd 5.15.3
React 18.2.0
System -
Browser -

貢獻者指南