We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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的源代码为 <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>
<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:
可能还是要提供一个 demo,我这边试了每一个 collapse 30 input、然后 list 长度 10,还是直出的
Sorry, something went wrong.
同类型问题 #1393
lhbxs
No branches or pull requests
关于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: