Шукати в статтях підтримки

Остерігайтеся нападів зловмисників. Mozilla ніколи не просить вас зателефонувати, надіслати номер телефону у повідомленні або поділитися з кимось особистими даними. Будь ласка, повідомте про підозрілі дії за допомогою меню “Повідомити про зловживання”

Докладніше

Ця тема перенесена в архів. Якщо вам потрібна допомога, запитайте.

Firefox Android does not accept alphabet character in input field

  • 3 відповіді
  • 1 має цю проблему
  • 2 перегляди
  • Остання відповідь від Paul

more options

Hi, I'm having an issue in my app where I have several input fields in a row but when I enter alphabet input in the fields Firefox doesn't show the input. The input is being selected and I know it's doing something because my app changes the active element but the input itself is left blank.

The last input element does however show. Also, if I enter numbers it works fine as well.

The input fields work properly in Chrome(Both), Edge, Firefox (Desktop).

Does Firefox android implement input fields differently?

Thank you.

Hi, I'm having an issue in my app where I have several input fields in a row but when I enter alphabet input in the fields Firefox doesn't show the input. The input is being selected and I know it's doing something because my app changes the active element but the input itself is left blank. The last input element does however show. Also, if I enter numbers it works fine as well. The input fields work properly in Chrome(Both), Edge, Firefox (Desktop). Does Firefox android implement input fields differently? Thank you.

Усі відповіді (3)

more options

Hi

So that I can replicate the issue here, are you able to share a link to the website that you are trying to use?

more options

Seburo said

Hi So that I can replicate the issue here, are you able to share a link to the website that you are trying to use?

Hi, sorry for late reply -

I tried debugging mobile and this doesn't appear to be an issue with css. I guess this issue happens when focus is used. When I console log it, my function that handles an input gets triggered twice for some reason, once with a letter and again with an empty string. This doesn't happen for numbers though. Happens in both Firefox and Firefox Focus.

What I have is an onchange event for the input element so when the onchange is called, focus is shifted to the next input element - think of it like apple ID two factor authentication where there is six boxes separated

I can post a skeleton version of the app (may just take a day or two to get ready)

more options

If you could share a link to the page where this is happening, it would help us to replicate the issue and hopefully find a solution for you.