为提升您的使用体验,本站正在维护,部分功能暂时无法使用。如果本站文章无法解决您的问题,您想要向社区提问的话,请到 Twitter 上的 @FirefoxSupport 或 Reddit 上的 /r/firefox 提问,我们的支持社区将会很快回复您的疑问。

搜索 | 用户支持

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

详细了解

If a website has an HTML time input then Firefox doesn't display the whole of the clock to set the time. Date is OK

  • 3 个回答
  • 2 人有此问题
  • 4 次查看
  • 最后回复者为 Johnrford

more options

I have a device that allows a user to login via a browser and as part set the date and time of the device. The date set works correctly but the time function fails. As the screen-shot shows the time picker is only 2/3 the width and the "set" button is missing. The code on the device for this function is -

                                                      <input type = "time" name = "newTime"/>

This function works correctly in Chrome on Android 7.0 and with Firefox on Android 6.0 but not with Firefox on Android 7.0

I have a device that allows a user to login via a browser and as part set the date and time of the device. The date set works correctly but the time function fails. As the screen-shot shows the time picker is only 2/3 the width and the "set" button is missing. The code on the device for this function is - <input type = "time" name = "newTime"/> This function works correctly in Chrome on Android 7.0 and with Firefox on Android 6.0 but not with Firefox on Android 7.0
已附加屏幕截图

所有回复 (3)

more options

It may be that the zoom level is too high to show the whole control in the space allotted. Since I can only see a small part of the text behind the control, that seems like it could be the issue here. Does Firefox zoom in automatically when the user touches the form field?

I don't know if there is a workaround for you as the web developer, or whether the user needs to manually zoom out, if that is possible. (There are issues with zoom in Firefox for Android where the user can't change it by pinching in some circumstances, which is very frustrating.)

more options

I don't get the inner ring of numbers, and I have AM / PM below my time, so I might not be able to test your configuration.

Even on mine there definitely is a problem with the control cutting off when rotating between landscape and portrait, or vice versa.

more options

Thanks for your comments.

Couple of points -

1. I had zoomed into the screen behind by mistake but even in the default view the problem is the same.

2. This only occurs in landscape mode. In portrait mode the clock generated by Firefox is complete with all three buttons. The device I am connected to needs the Android device to be in landscape mode to use the full width of the screen to display later device screens that contain tables.