In PF3 we had something like the following:
<TabContent>
<TabPane eventKey="info" mountOnEnter={true} unmountOnExit={true}>
<AppInfo
app={this.state.app}
namespace={this.props.match.params.namespace}
onRefresh={this.doRefresh}
activeTab={this.activeTab}
onSelectTab={this.tabSelectHandler}
health={this.state.health}
/>
</TabPane>
<TabPane eventKey="traffic" mountOnEnter={true} unmountOnExit={true}>
</TabPane>
<TabContent>
In patternfly 4, we want to implement Tabs also using the mountOnEnter and unmountOnExit
<Tab title="Inbound metrics" eventKey={2}>
<IstioMetricsContainer
namespace={this.props.match.params.namespace}
object={this.props.match.params.app}
objectType={MetricsObjectTypes.APP}
direction={'inbound'}
/>
</Tab>
Is there the possibility to implement those properties for PF4 for Tab component?
Reactions are currently unavailable
In PF3 we had something like the following:
<TabContent> <TabPane eventKey="info" mountOnEnter={true} unmountOnExit={true}> <AppInfo app={this.state.app} namespace={this.props.match.params.namespace} onRefresh={this.doRefresh} activeTab={this.activeTab} onSelectTab={this.tabSelectHandler} health={this.state.health} /> </TabPane> <TabPane eventKey="traffic" mountOnEnter={true} unmountOnExit={true}> </TabPane> <TabContent>In patternfly 4, we want to implement Tabs also using the mountOnEnter and unmountOnExit
<Tab title="Inbound metrics" eventKey={2}> <IstioMetricsContainer namespace={this.props.match.params.namespace} object={this.props.match.params.app} objectType={MetricsObjectTypes.APP} direction={'inbound'} /> </Tab>Is there the possibility to implement those properties for PF4 for Tab component?