Tìm kiếm hỗ trợ

Tránh các lừa đảo về hỗ trợ. Chúng tôi sẽ không bao giờ yêu cầu bạn gọi hoặc nhắn tin đến số điện thoại hoặc chia sẻ thông tin cá nhân. Vui lòng báo cáo hoạt động đáng ngờ bằng cách sử dụng tùy chọn "Báo cáo lạm dụng".

Tìm hiểu thêm

Firefox Android does not accept alphabet character in input field

  • 3 trả lời
  • 1 gặp vấn đề này
  • 11 lượt xem
  • Trả lời mới nhất được viết bởi 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.

Tất cả các câu trả lời (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.