diff --git a/react/features/chat/components/native/ChatInputBar.tsx b/react/features/chat/components/native/ChatInputBar.tsx index e9a6e53a96..381961a3e3 100644 --- a/react/features/chat/components/native/ChatInputBar.tsx +++ b/react/features/chat/components/native/ChatInputBar.tsx @@ -10,7 +10,6 @@ import { ASPECT_RATIO_WIDE } from '../../../base/responsive-ui/constants'; import IconButton from '../../../base/ui/components/native/IconButton'; import Input from '../../../base/ui/components/native/Input'; import { BUTTON_TYPES } from '../../../base/ui/constants.native'; - import { CHAR_LIMIT } from '../../constants'; import styles from './styles'; diff --git a/react/features/chat/components/web/ChatInput.tsx b/react/features/chat/components/web/ChatInput.tsx index c0e42bbda8..bb24220ce5 100644 --- a/react/features/chat/components/web/ChatInput.tsx +++ b/react/features/chat/components/web/ChatInput.tsx @@ -137,8 +137,8 @@ class ChatInput extends Component { icon = { this.props._areSmileysDisabled ? undefined : IconFaceSmile } iconClick = { this._toggleSmileysPanel } id = 'chat-input-messagebox' - maxRows = { 5 } maxLength = { CHAR_LIMIT } + maxRows = { 5 } onChange = { this._onMessageChange } onKeyPress = { this._onDetectSubmit } placeholder = { this.props.t('chat.messagebox') }