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

SFD-167: Expansion panel button bugfix #114

Merged
merged 1 commit into from
Jul 29, 2024

Conversation

jantoun-scottlogic
Copy link
Contributor

@jantoun-scottlogic jantoun-scottlogic commented Jul 18, 2024

SFD-167 Jira ticket

Fixes an issue where the buttons that expand and collapse the expansion panels don't work with the enter key.

Notes:

  • This was caused by having both a (click) and a (keydown.enter) handler on the button. (Previously this wasn’t a button HTML element and so both were required but now it’s a button element pressing enter fires the (click) event and the (keydown.enter) event is no longer needed.)

@jantoun-scottlogic jantoun-scottlogic marked this pull request as ready for review July 18, 2024 13:31
@sdun-scottlogic
Copy link
Contributor

Tested & Approved - SD.

@jantoun-scottlogic jantoun-scottlogic merged commit 6594619 into main Jul 29, 2024
3 checks passed
@jantoun-scottlogic jantoun-scottlogic deleted the SFD-167-expansion-panel-button-bugfix branch July 29, 2024 10:20
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants