Skip to content

fix(Popper): add null & connected checks for document [6.2.x patch]#12285

Open
kmcfaul wants to merge 1 commit intopatternfly:6.2.xfrom
kmcfaul:6.2-popper-documentcheck
Open

fix(Popper): add null & connected checks for document [6.2.x patch]#12285
kmcfaul wants to merge 1 commit intopatternfly:6.2.xfrom
kmcfaul:6.2-popper-documentcheck

Conversation

@kmcfaul
Copy link
Contributor

@kmcfaul kmcfaul commented Mar 23, 2026

What: Closes #12255

Adds a fallback to window.document for getDocumentElement.ts and adds isConnected checks for useIsomorphicLayoutEffect before createPopper is called.

@coderabbitai
Copy link

coderabbitai bot commented Mar 23, 2026

Important

Review skipped

Auto reviews are disabled on base/target branches other than the default branch.

Please check the settings in the CodeRabbit UI or the .coderabbit.yaml file in this repository. To trigger a single review, invoke the @coderabbitai review command.

⚙️ Run configuration

Configuration used: Organization UI

Review profile: CHILL

Plan: Pro

Run ID: 9d20dfb4-7d8b-49bf-ac94-bc27d6fcdf91

You can disable this status message by setting the reviews.review_status to false in the CodeRabbit configuration file.

Use the checkbox below for a quick retry:

  • 🔍 Trigger review
✨ Finishing Touches
🧪 Generate unit tests (beta)
  • Create PR with unit tests

Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

❤️ Share

Comment @coderabbitai help to get the list of available commands and usage tips.

@patternfly-build
Copy link
Collaborator

patternfly-build commented Mar 23, 2026

Copy link
Contributor

@dlabaj dlabaj left a comment

Choose a reason for hiding this comment

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

LGTM!

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.

3 participants