Skip to content

fix(Dialog): removed autofocus from closeButton#4159

Merged
oddvernes merged 1 commit intomainfrom
fix/dialog-autofocus
Oct 21, 2025
Merged

fix(Dialog): removed autofocus from closeButton#4159
oddvernes merged 1 commit intomainfrom
fix/dialog-autofocus

Conversation

@oddvernes
Copy link
Collaborator

resolves #4158

Sidenote: looks like just autoFocus and not autoFocus={true} causes the attribute to be stripped away in storybook, but not downstream such as in www

@changeset-bot
Copy link

changeset-bot bot commented Oct 20, 2025

🦋 Changeset detected

Latest commit: d406b45

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

This PR includes changesets to release 4 packages
Name Type
@digdir/designsystemet-react Patch
@digdir/designsystemet Patch
@digdir/designsystemet-css Patch
@digdir/designsystemet-theme 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

@github-actions
Copy link
Contributor

Preview deployments for this pull request:

storybook - 20. Oct 2025 - 15:23

@oddvernes oddvernes merged commit 792163e into main Oct 21, 2025
16 checks passed
@oddvernes oddvernes deleted the fix/dialog-autofocus branch October 21, 2025 08:36
@github-actions github-actions bot mentioned this pull request Oct 21, 2025
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.

Dialog: Remove autofocus attr from closeButton

2 participants