You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
It is appearing only on initial render of an Drawer, after the error everything seems to work fine. I've tested in on 3.10.4 and 3.16.1. Any idea how to solve this?
Currently a quick fix for bring to live your application while waiting a fix from ant design:
importMediaQueryfrom'react-responsive'classDrawerWrapperextendsReact.Component{render(){// Use your screen size break for small devicesreturn(<MediaQuerymaxWidth={768}><Drawer{...this.props}/></MediaQuery>)}}
It is appearing only on initial render of an Drawer, after the error everything seems to work fine. I've tested in on 3.10.4 and 3.16.1. Any idea how to solve this?
Usage:
<Drawer title={drawerHeaderText} width={drawerWidth} onClose={this.onClose} visible={store && store.drawerOpened}> <div className="drawer-inside-wrapper"> <AddToCartForm/> {this.renderProceedButton()} <CartView/> </div> </Drawer>
Potentially related to #39
The text was updated successfully, but these errors were encountered: