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

Uiux #235

Merged
merged 3 commits into from
Sep 25, 2023
Merged

Uiux #235

merged 3 commits into from
Sep 25, 2023

Conversation

Oliver-ctrlo
Copy link
Contributor

Added Keyboard functionality to the record-popup and the 2 different popover events that can be found within a record-popup table row.

Then by disabling defaults and adding Stop-propagation to the popover's event, it will stop any bubbling or keydown events interfering between the popovers and the record-popup they are nested in.

Added 'space' and 'enter' key-down functionality for the record pop-ups
Added a Stopprop to popover so it no longer bubbles up to the record pop-over.

Then added keyboard functionality and disabled default behaviour. As I was finding that the default button click (via keyboard) was being over-ridden by other events with specified key-down functionality.
I was finding that the default keyboard click no longer worked when there was a parent element with a key-down event. 
So resolved the issue by removing the default behaviour of this click event and replacing it with it's own specified keyboard functionality.
@abeverley
Copy link
Contributor

Thanks Oliver, this looks good.

@abeverley abeverley merged commit 7d6a86a into ctrlo:uiux Sep 25, 2023
3 checks passed
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.

2 participants