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
有很多个Collapse,渲染起来很卡 #1432
Comments
可能还是要提供一个 demo,我这边试了每一个 collapse 30 input、然后 list 长度 10,还是直出的 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
关于Collapse的源代码为
<Collapse className='fr-obj-collapse' style={style} bordered={bordered} ghost={ghost} activeKey={[activeKey]} expandIcon={renderExpandIcon} onChange={() => setActiveKey(activeKey ? '' : 'single')} > <Panel key='single' header={collapseHeader} forceRender={true}> {children} </Panel> </Collapse>
其中forceRender={true} 将所有Collapse中的内容一起渲染,如果Collapse多了渲染起来就会很卡
The text was updated successfully, but these errors were encountered: