Where did you install Firefox from? Help Mozilla uncover 3rd party websites that offer problematic Firefox installation by taking part in our campaign. There will be swag, and you'll be featured in our blog if you manage to report at least 10 valid reports!

搜索 | 用户支持

防范以用户支持为名的诈骗。我们绝对不会要求您拨打电话或发送短信,及提供任何个人信息。请使用“举报滥用”选项报告涉及违规的行为。

Learn More

Can't disable number input arrows in forms

  • 3 个回答
  • 0 人有此问题
  • 1 次查看
  • 最后回复者为 TyDraniu

more options

Hi,

As the subject says, i cannot remove the up and down arrows from forms that have a numerical input even though autofill/history options are cleared and disabled. I've even tried deleting cookies, cache, site data and so on, to no avail. I've also tried a clean terminal with no extensions installed and i have the same issue. Other browsers do not have this issue on the exact same form. I am at a loss, any assistance would be appreciated.

Hi, As the subject says, i cannot remove the up and down arrows from forms that have a numerical input even though autofill/history options are cleared and disabled. I've even tried deleting cookies, cache, site data and so on, to no avail. I've also tried a clean terminal with no extensions installed and i have the same issue. Other browsers do not have this issue on the exact same form. I am at a loss, any assistance would be appreciated.
已附加屏幕截图

所有回复 (3)

more options

Can you share the working testcase of this input field? On https://codepen.io for instance?

有帮助吗?

more options

What ways did you try to hide the spinners?

Possible CSS code for userContent.css:

input[type=number] {-moz-appearance: textfield !important}
input[type=number]:not(:focus)::-moz-number-spin-box {display:none !important}

有帮助吗?

more options

This is default view of this input in Firefox right now. In version 125 stepper arrows will be visible only on mouse hover.

有帮助吗?

我要提问

您需要登录才能回复。如果您还没账号,可以提出新问题