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

Add possibility to navigate year picker in calendar #3571

Merged

Conversation

arkadiy93
Copy link
Contributor

Before:
image

After:
image

}: {
setFocusedYear: (year: number) => void
year: number
yearPickerPage: number
}) => {
return (
<Grid>
<FocusScope contain restoreFocus autoFocus>
Copy link
Collaborator

Choose a reason for hiding this comment

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

With the new interactive buttons in the header, this focusScope stuff probably needs to be changed, otherwise the page changer buttons are inaccessible with keyboard. Not sure how. Perhaps FocusScope can be moved out to encompass the entire popover

@arkadiy93 arkadiy93 requested a review from oddvernes August 26, 2024 07:48
@oddvernes
Copy link
Collaborator

All seems to be in order now 👍

@oddvernes oddvernes merged commit 071aa3d into equinor:develop Aug 26, 2024
4 of 6 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