I have problems with IOS return key on keyboard (in Safari on iphone for example). I am using vue js in my web application where I have textarea in chat component:
<textarea
class="field-text__input field-text__input--height-small field-text__input--max-height"
rows="1"
ref="messageField"
placeholder="Your message"
@keydown.enter.exact.prevent="send"
@keyup.enter.ctrl.exact="expandTextarea"
:value="messageText"
@input="updateMessage">
</textarea>
On desktop browser or android devices message is sent on "Enter" click. But on IOS click on "return" key on keyboard also send message. How I can prevent this action for IOS "return" key? Thanks for any help.