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

Respect meta-keys when navigating in Tabs, ToggleGroup #3041

Merged
merged 2 commits into from
Jul 8, 2024

Conversation

KenAJoh
Copy link
Collaborator

@KenAJoh KenAJoh commented Jul 4, 2024

Description

We did not check for shift, ctrl, alt and meta-keys when navigating and using preventDefault() in tabs and Toggegroup. This lead to OS and Browser-spesific actions to be prevented, like changing windows, changing tabs etc.

Copy link

changeset-bot bot commented Jul 4, 2024

🦋 Changeset detected

Latest commit: 71a17d0

The changes in this PR will be included in the next version bump.

This PR includes changesets to release 7 packages
Name Type
@navikt/ds-react Patch
@navikt/ds-css Patch
@navikt/ds-tokens Patch
@navikt/ds-tailwind Patch
@navikt/aksel-icons Patch
@navikt/aksel Patch
@navikt/aksel-stylelint Patch

Not sure what this means? Click here to learn what changesets are.

Click here if you're a maintainer who wants to add another changeset to this PR

Copy link
Contributor

github-actions bot commented Jul 4, 2024

Storybook demo

a2aa2861f | 87 komponenter | 132 stories

@JulianNymark
Copy link
Contributor

good catch!

@KenAJoh KenAJoh merged commit 2fe2586 into main Jul 8, 2024
4 checks passed
@KenAJoh KenAJoh deleted the roving-arrow-permissive branch July 8, 2024 06:41
@github-actions github-actions bot mentioned this pull request Jul 8, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants