Skip to content

Popover document undefined error fix + zIndex#2396

Merged
PelayoFelgueroso merged 1 commit intomasterfrom
jialecl/popoverFix
Feb 16, 2026
Merged

Popover document undefined error fix + zIndex#2396
PelayoFelgueroso merged 1 commit intomasterfrom
jialecl/popoverFix

Conversation

@Jialecl
Copy link
Collaborator

@Jialecl Jialecl commented Feb 16, 2026

Added failsafe for document being undefined in Popover component, and added correct zIndex value to the correcto element.

Checklist
(Check off all the items before submitting)

  • Build process is done without errors. All tests pass in the /lib directory.
  • Self-reviewed the code before submitting.
  • Meets accessibility standards.
  • Added/updated documentation to /website as needed.
  • Added/updated tests as needed.

Purpose
Avoids error related to document being undefined.
And zIndex applied correctly.

Description
Added useEffect to update once the container and document is visible.

Added failsafe for document being undefined in Popover component,
and added correct zIndex value to the correcto element.
@PelayoFelgueroso PelayoFelgueroso self-assigned this Feb 16, 2026
@PelayoFelgueroso PelayoFelgueroso merged commit f081587 into master Feb 16, 2026
5 checks passed
@PelayoFelgueroso PelayoFelgueroso deleted the jialecl/popoverFix branch February 16, 2026 11:36
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