Commit 364422e
committed
Prevent date inputs shifting alignment on iPadOS
Due to an upstream issue in Safari on iPadOS 18 (and potentially 17), the box model calculations for these inputs go iffy when the value is deleted and re-typed.
The upstream issue was reported during the beta period of iPadOS 26 and fixed in the release of iPadOS 26 in September, however no fix for older versions seems to be coming, so we should prevent the issue in our own code in the meantime.
NHS.UK Frontend issue: nhsuk/nhsuk-frontend#1227
Our bug report: alphagov/reported-bugs#901 parent 71a2677 commit 364422e
File tree
1 file changed
+5
-0
lines changed- packages/govuk-frontend/src/govuk/components/date-input
1 file changed
+5
-0
lines changedLines changed: 5 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
14 | 14 | | |
15 | 15 | | |
16 | 16 | | |
| 17 | + | |
| 18 | + | |
| 19 | + | |
| 20 | + | |
| 21 | + | |
17 | 22 | | |
18 | 23 | | |
19 | 24 | | |
| |||
0 commit comments