diff --git a/CHANGELOG.md b/CHANGELOG.md index adba0f9ccd..dcdab95663 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -9,6 +9,7 @@ For advice on how to use these release notes, see [our guidance on staying up to We've made fixes to GOV.UK Frontend in the following pull requests: - [#6351: Preserve already escaped `attributes` values to prevent double escaping](https://github.com/alphagov/govuk-frontend/pull/6351) thanks to @colinrotherham for fixing this issue +- [#6454: Prevent date inputs shifting alignment on iOS 18](https://github.com/alphagov/govuk-frontend/pull/6454) – thanks to @rowellx68 for reporting this issue and @colinrotherham for suggesting the fix. ## v6.0.0-beta.1 (Beta breaking release) diff --git a/packages/govuk-frontend/src/govuk/components/date-input/_index.scss b/packages/govuk-frontend/src/govuk/components/date-input/_index.scss index e812dd92d5..3b301cfa83 100644 --- a/packages/govuk-frontend/src/govuk/components/date-input/_index.scss +++ b/packages/govuk-frontend/src/govuk/components/date-input/_index.scss @@ -14,6 +14,11 @@ display: inline-block; margin-right: govuk-spacing(4); margin-bottom: 0; + + // Prevents an issue in iOS Safari 18 where the items vertically + // shift when the value of inputs is changed. + // https://github.com/alphagov/reported-bugs/issues/90 + vertical-align: bottom; } .govuk-date-input__label {