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

Bytter ut FloatingPortal med egen implementasjon #2697

Merged
merged 11 commits into from
Feb 6, 2024
Merged

Conversation

KenAJoh
Copy link
Collaborator

@KenAJoh KenAJoh commented Feb 2, 2024

Description

Inhouse implementasjon av Portal. Slipper da å bruke FloatingPortal for noen som er relativt enkelt å implementere.

Portal ser også i <Provider> context etter rootElement, slik at komponenter som bruker Portal API-et ikke trenger å håndtere denne logikken selv.

Prøvde meg på å skrive om Modal til å bruke denne, men må nesten ses på sammen da det er en del sideffects som kan påvirke polyfill i Modal

@KenAJoh KenAJoh added the ignore-chromatic Hindrer kode i å bli testet med chromatic label Feb 2, 2024
Copy link

changeset-bot bot commented Feb 2, 2024

🦋 Changeset detected

Latest commit: c47dc4d

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 Minor
@navikt/ds-css Minor
@navikt/ds-tokens Minor
@navikt/ds-tailwind Minor
@navikt/aksel-icons Minor
@navikt/aksel Minor
@navikt/aksel-stylelint Minor

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

@KenAJoh KenAJoh merged commit f44ff44 into main Feb 6, 2024
2 checks passed
@KenAJoh KenAJoh deleted the overlays-portal branch February 6, 2024 17:02
@github-actions github-actions bot mentioned this pull request Feb 6, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
ignore-chromatic Hindrer kode i å bli testet med chromatic
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants