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

Add support for AnimatePresence when using shadow DOM #2830

Open
wants to merge 3 commits into
base: main
Choose a base branch
from

Commits on Oct 26, 2024

  1. Add custom DOM element prop for injecting styles when using AnimatePr…

    …esence with mode === `popLayout`
    
    By default this was using document.head, but that is not always available to where it's rendered,
    e.g. when using the shadow DOM. Instead, pass the shadow root to the new `parentDOM` prop
    tehbelinda committed Oct 26, 2024
    Configuration menu
    Copy the full SHA
    c1f485c View commit details
    Browse the repository at this point in the history

Commits on Oct 28, 2024

  1. Limit when we try to access document

    for cases where it may not exist, e.g. headless tests
    tehbelinda authored and Dylan Kelly committed Oct 28, 2024
    Configuration menu
    Copy the full SHA
    8b93336 View commit details
    Browse the repository at this point in the history

Commits on Nov 1, 2024

  1. Configuration menu
    Copy the full SHA
    39a8129 View commit details
    Browse the repository at this point in the history