You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Operating system and version (Windows, macOS, Android, iOS): macOS 11.5.2
Browser and version: Safari 14.1.2
Problems:
On Safari 14.1.2 on macOS 11.5.2 (the latest of both as of submitting this issue), HTML inputs of type = "date" | "time" | "datetime-local" have a default height of 34 whereas the default height of type="text" is 24. This causes the contents to be positioned in a way that will not align with contents of inputs of type text and it leaves an uneven amount of space between the border and the contents. For example:
Placeholders for inputs of "date" | "time" | "datetime-local" have delineator characters that appear in black such as "/", ":" and commas vs. the placeholder values that appear gray by default. Incidentally, Chrome displays placeholders for these input types in black whereas inputs of type text are gray.
I can confirm this issue, also it might be a bug of Safari, this issue appears on other frameworks or even plain CSS if the input have a line-height and is of type date/time/datetime-local the final height is buggy
Problems:
Steps to reproduce:
to
and view the results in the Safari browser.
to
The text was updated successfully, but these errors were encountered: