message: Transition end callback in View component
diff: @@ -28,7 +28,8 @@ export default class View extends Component {
  activePanel: PropTypes.string.isRequired,
  header: PropTypes.object,
  children: PropTypes.node,
  - popout: PropTypes.node
  + popout: PropTypes.node,
  + onTransition: PropTypes.func
  };
  static defaultProps = {
  style: {},
  @@ -55,6 +56,7 @@ export default class View extends Component {
  document.activeElement.blur();
  }
  +
  // @TODO Lock overscroll on window
  this.setState({
  visiblePanels: [activePanel, nextProps.activePanel],
  @@ -128,6 +130,10 @@ export default class View extends Component {
  if (activePanel && isBack) {
  window.scrollTo(0, this.state.scrolls[activePanel] || 0);
  }
  +
  + if (this.props.onTransition) {
  + this.props.onTransition();
  + }
  });
  }
  }
  