message: check viewHeight for ActionSheet adaptivity
diff: @@ -2,7 +2,7 @@ import React, { Component, HTMLAttributes } from 'react';
  import PopoutWrapper from '../PopoutWrapper/PopoutWrapper';
  import { transitionEvent } from '../../lib/supportEvents';
  import withPlatform from '../../hoc/withPlatform';
  -import withAdaptivity, { AdaptivityProps, ViewWidth } from '../../hoc/withAdaptivity';
  +import withAdaptivity, { AdaptivityProps, ViewWidth, ViewHeight } from '../../hoc/withAdaptivity';
  import { HasPlatform } from '../../types';
  import { ANDROID, IOS, VKCOM } from '../../lib/platform';
  import ActionSheetDropdownDesktop from './ActionSheetDropdownDesktop';
  @@ -63,8 +63,13 @@ class ActionSheet extends Component<ActionSheetProps, ActionSheetState> {
  }
  };
  + get isDesktop() {
  + const { viewWidth, viewHeight, hasMouse } = this.props;
  + return viewWidth >= ViewWidth.SMALL_TABLET && (hasMouse || viewHeight >= ViewHeight.MEDIUM);
  + }
  +
  waitTransitionFinish(eventHandler: AnimationEndCallback) {
  - if (this.props.viewWidth >= ViewWidth.TABLET) {
  + if (this.isDesktop) {
  eventHandler();
  }
  @@ -86,12 +91,13 @@ class ActionSheet extends Component<ActionSheetProps, ActionSheetState> {
  style,
  platform,
  viewWidth,
  + viewHeight,
  hasMouse,
  iosCloseItem,
  ...restProps
  } = this.props;
  - const isDesktop = hasMouse || viewWidth >= ViewWidth.SMALL_TABLET;
  + const isDesktop = this.isDesktop;
  const DropdownComponent = isDesktop
  ? ActionSheetDropdownDesktop
  @@ -139,5 +145,6 @@ class ActionSheet extends Component<ActionSheetProps, ActionSheetState> {
  export default withAdaptivity(withPlatform(ActionSheet), {
  viewWidth: true,
  + viewHeight: true,
  hasMouse: true,
  });
  