Skip to content
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

Remove hover state for accordion sections on mobile #1148

Merged
merged 2 commits into from
Jan 17, 2019

Conversation

NickColley
Copy link
Contributor

On iOS the hover state could be 'stuck' when the user is not interacting with the accordion component anymore.

One alternative approach would be to only add a hover state when the device has hover capability, I chose not to do this since this feature is techincally still a candidate recommendation which means it could in theory be removed if something happens while they test this new feature.

In the future we could simplify this code if it becomes a stable recommendation.

Fixes #1143

On iOS the hover state could be 'stuck' when the user is not interacting with the accordion component anymore.

One alternative approach would be to only add a hover state when the device has hover capability, I chose not to do this since this feature is techincally still a candidate recommendation which means it could in theory be removed if something happens while they test this new feature.

In the future we could simplify this code if it becomes a stable recommendation.
@govuk-design-system-ci govuk-design-system-ci temporarily deployed to govuk-frontend-review-pr-1148 January 17, 2019 16:14 Inactive
Copy link
Contributor

@36degrees 36degrees left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Makes sense 👍

@NickColley NickColley merged commit 9a11120 into master Jan 17, 2019
@NickColley NickColley deleted the fix-hover-states-accordion branch January 17, 2019 16:50
@NickColley NickColley added this to the [NEXT] milestone Jan 21, 2019
This was referenced Jan 31, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Development

Successfully merging this pull request may close these issues.

3 participants