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

fix: checks if element exists before reading height #4590

Merged
merged 1 commit into from
Feb 24, 2025

Conversation

ivarni
Copy link
Contributor

@ivarni ivarni commented Feb 21, 2025

Fixes an error that would sometimes get thrown if the element we tried to read the height from was no longer in the DOM.

🎯 Sjekkliste

  • pnpm build og pnpm ci:test gir ingen feil

Fixes an error that would sometimes get thrown if the element
we tried to read the height from was no longer in the DOM.
@ivarni ivarni force-pushed the handle-possibly-empty-ref branch from 6a6a726 to 8870bb1 Compare February 21, 2025 12:52
@fremtind-bot
Copy link
Collaborator

fremtind-bot commented Feb 21, 2025

Forhåndsvisning: https://jokul.fremtind.no/preview/handle-possibly-empty-ref/
🔍 Commit: 295deec

Forhåndsvisningen blir tilgjengelig innen et par minutter. Den fjernes automatisk når pull requesten lukkes.

fremtind-bot added a commit that referenced this pull request Feb 21, 2025
fremtind-bot added a commit that referenced this pull request Feb 21, 2025
@ivarni ivarni added this pull request to the merge queue Feb 24, 2025
Merged via the queue into main with commit c789206 Feb 24, 2025
9 checks passed
@ivarni ivarni deleted the handle-possibly-empty-ref branch February 24, 2025 11:35
github-actions bot pushed a commit that referenced this pull request Feb 24, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Status: Done
Development

Successfully merging this pull request may close these issues.

4 participants