S
S
Sergey Semenov2021-03-16 10:55:35
JavaScript
Sergey Semenov, 2021-03-16 10:55:35

Resetting the text when you click on the "done" button on the iPhone, what is the reason?

There are inputs with text input, when you click on the Done button on iPhones, the text in these fields is reset, I can’t understand what is the reason.
The tag attributes are: autocomplete="off" enterkeyhint="done" inputmode="text".
I can't catch this event, because Samsung itself does not have such a button, complaints come from customers from iPhones. On the browser stack, I also could not repeat it on the free version.
605092d418726735010706.png
There is also a bug on Xiaomi, when you get a complete gibberish when you enter, maybe someone else has come across ...?
6050685ea176f371194456.png

If anything, I'm developing on Vue.js, inputs as separate components

Answer the question

In order to leave comments, you need to log in

1 answer(s)
I
Ivan, 2021-03-16
@frankieksai

The Done button on the Iphone removes the keyboard and focus from the input.
maybe you have a handler on v-on:blur?

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question