Skip to content

fix: update head text query in SessionIframe.tsx #3738

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

Merged
merged 2 commits into from
Jun 30, 2025
Merged

Conversation

leafty
Copy link
Member

@leafty leafty commented Jun 19, 2025

Closes #3737.

According to TypeScript's DOM types, contentDocument.head should always exist but in practice we can sometimes see a "Cannot read properties of null (reading 'querySelector')" error.

Closes #3737.

According to TypeScript's DOM types, `contentDocument.head` should
always exist but in practice we can sometimes see a "Cannot read
properties of null (reading 'querySelector')" error.
@leafty leafty marked this pull request as ready for review June 19, 2025 12:48
@leafty leafty requested a review from a team as a code owner June 19, 2025 12:48
Copy link
Contributor

@ciyer ciyer left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

👍

@leafty leafty enabled auto-merge (squash) June 30, 2025 07:08
@leafty leafty merged commit 3f985c9 into main Jun 30, 2025
15 checks passed
@leafty leafty deleted the leafty/fix-3737 branch June 30, 2025 07:23
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.

TypeError: Cannot read properties of null (reading 'querySelector')
2 participants