FazBrowse GitHub Viewer | Trending |
URL:
| Home
Tools: [Download Repo ZIP]   [Original HTTPS Page]

Feature: Tab component misses mountOnEnter, unmountOnExit properties · Issue #2609 · patternfly/patternfly-react · GitHub

Feature: Tab component misses mountOnEnter, unmountOnExit properties #2609

Description

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?

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions


Back | FazBrowse Home | New Git URL