Skip to content

Commit

Permalink
Changed shouldEnableMaxHeight to be false as default
Browse files Browse the repository at this point in the history
  • Loading branch information
gedu committed Apr 18, 2023
1 parent afb02f1 commit b90d6c8
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions src/components/ScreenWrapper/propTypes.js
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
import PropTypes from 'prop-types';
import * as DeviceCapabilities from '../../libs/DeviceCapabilities';
import {windowDimensionsPropTypes} from '../withWindowDimensions';

const propTypes = {
Expand Down Expand Up @@ -48,7 +47,7 @@ const defaultProps = {
onEntryTransitionEnd: () => {},
modal: {},
keyboardAvoidingViewBehavior: 'padding',
shouldEnableMaxHeight: !DeviceCapabilities.canUseTouchScreen(),
shouldEnableMaxHeight: false,
};

export {propTypes, defaultProps};

0 comments on commit b90d6c8

Please sign in to comment.