diff --git a/src/components/TextInputAutoWidth.js b/src/components/TextInputAutoWidth.js index 9dbc83537cd65..18a04bb9e3352 100644 --- a/src/components/TextInputAutoWidth.js +++ b/src/components/TextInputAutoWidth.js @@ -42,13 +42,15 @@ class TextInputAutoWidth extends React.Component { render() { const propsWithoutStyles = _.omit(this.props, ['inputStyle', 'textStyle']); return ( - - + <> + + + {/* Text input component doesn't support auto grow by default. We're using a hidden text input to achieve that. @@ -61,7 +63,7 @@ class TextInputAutoWidth extends React.Component { > {this.props.value || this.props.placeholder} - + ); } } diff --git a/src/styles/styles.js b/src/styles/styles.js index e11f4ee0c9201..8a33e4e249416 100644 --- a/src/styles/styles.js +++ b/src/styles/styles.js @@ -1641,11 +1641,10 @@ const styles = { }, hiddenElementOutsideOfWindow: { - position: 'fixed', + position: 'absolute', top: 0, left: 0, opacity: 0, - transform: 'translateX(-100%)', }, growlNotificationWrapper: {