MM-9922 Fixed CSS transition when mousing onto internal link
This commit is contained in:
@@ -317,6 +317,7 @@ const MainPage = createReactClass({
|
||||
authServerURL = `${tmpURL.protocol}//${tmpURL.host}`;
|
||||
authInfo = this.state.loginQueue[0].authInfo;
|
||||
}
|
||||
var currentTeamURL = this.props.teams[this.state.key].url;
|
||||
var modal = (
|
||||
<NewTeamModal
|
||||
show={this.state.showNewTeamModal}
|
||||
@@ -364,7 +365,7 @@ const MainPage = createReactClass({
|
||||
{ viewsRow }
|
||||
</Grid>
|
||||
<TransitionGroup>
|
||||
{ (this.state.targetURL === '') ?
|
||||
{ (this.state.targetURL === '' || this.state.targetURL.startsWith(currentTeamURL)) ?
|
||||
null :
|
||||
<CSSTransition
|
||||
classNames='hovering'
|
||||
@@ -372,7 +373,6 @@ const MainPage = createReactClass({
|
||||
>
|
||||
<HoveringURL
|
||||
key='hoveringURL'
|
||||
currentTeamURL={this.props.teams[this.state.key].url}
|
||||
targetURL={this.state.targetURL}
|
||||
/>
|
||||
</CSSTransition>
|
||||
|
Reference in New Issue
Block a user