Skip to content

Commit

Permalink
fix: Disabled Navigation controlled event
Browse files Browse the repository at this point in the history
  • Loading branch information
myxvisual committed Aug 8, 2017
1 parent 41c6a1c commit 7212886
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/NavigationView/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -129,11 +129,11 @@ export class NavigationView extends React.Component<NavigationViewProps, Navigat
this.autoResize();
window.addEventListener("resize", this.autoResize);
}
this.addBlurEventMethod();
if (!this.props.isControlled) this.addBlurEventMethod();
}

componentDidUpdate() {
this.addBlurEventMethod();
if (!this.props.isControlled) this.addBlurEventMethod();
}

shouldComponentUpdate(nextProps: NavigationViewProps, nextState: NavigationViewState, nextContext: { theme: ReactUWP.ThemeType }) {
Expand Down

0 comments on commit 7212886

Please sign in to comment.