-
Notifications
You must be signed in to change notification settings - Fork 329
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conditionals don’t show when using Back to return to a form with radio buttons (Chrome) #1794
Comments
From testing in Browserstack, I think this may be a result of a change in Chrome 79 – in Chrome 78, the conditionally revealed content is still shown when pressing back. |
We've now observed this bug negatively affecting users in research. |
From testing in Browserstack, conditionally revealed content is displayed correctly when returning using the back button in Chrome ≤ 78, Firefox (77) and Safari (13.1). It is not displayed in Chrome > 78, Edge, or IE8-11. Waiting for This feels like a regression in Chrome 79, so might be worth reporting? Chrome 78Chrome 78 appears to re-evaluate the JavaScript when navigating back, and correctly identifies the checkbox as being checked, so the conditional revealed content is displayed. Chrome 79, Edge 83 and Opera 68Chrome 78 and Edge 83 appear to re-evaluate the JavaScript when navigating back, but incorrectly identify the checkbox as being unchecked, so the conditional revealed content is not displayed. The checkbox is still incorrectly identified as being unchecked in the Edge 18Edge 18 did not remember the state of the checkbox, nor any other form controls when using the back button. The checkbox is arguably correctly identified as being unchecked, so the conditional revealed content is not displayed. IE8-11IE9, 10 and 11 re-evaluate the JavaScript when navigating back, but the checked state of the checkbox is incorrectly identified as being unchecked. The checkbox is correctly identified as being checked in the IE8 behaves the same, except the Firefox 77 and Safari 13.1Firefox 77 and Safari 13.1 both remember the state of the page, including the state of the conditionally revealed content. Neither browser appeared to re-evaluate the JavaScript. Overview
† correct in that it matches the state of the checkbox, which is unchecked because the form state is not preserved. |
From https://bugs.chromium.org/p/chromium/issues/detail?id=1035662:
Reading around that issue, it sounds like waiting for the |
Steps to reproduce:
Using Chrome 80 or 81:
You can see this on:
https://www.find-postgraduate-teacher-training.service.gov.uk/
The text was updated successfully, but these errors were encountered: