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

🎉 Fikset regresjon ved bruk av portal i tooltip #2738

Merged
merged 1 commit into from
Feb 19, 2024
Merged

Conversation

KenAJoh
Copy link
Collaborator

@KenAJoh KenAJoh commented Feb 16, 2024

Description

Siden globalThis bare er tilgjengelig for client vil dom ikke matche server og client. En enkel løsning for nå er å bruke "asChild" slik at portal ikke rendres før tooltip åpnes. En fremtidig løsning vil være å sjekke om portal er i ssr-context før man rendrer.

Copy link

changeset-bot bot commented Feb 16, 2024

🦋 Changeset detected

Latest commit: 8e63f77

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

Storybook demo

b71a8125e | 57 komponenter | 306 stories

@KenAJoh KenAJoh merged commit 74216b6 into main Feb 19, 2024
2 checks passed
@KenAJoh KenAJoh deleted the portal-aschild branch February 19, 2024 10:31
@github-actions github-actions bot mentioned this pull request Feb 19, 2024
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