Skip to content

[bug] Provider affects the DOM #2164

Description

@LufyCZ

Is there an existing issue for this?

  • I have searched the existing issues

RainbowKit Version

2.1.5

wagmi Version

2.17.0

Current Behavior

The RainbowKitProvider component injects a <div> which affects styling.

image

The above should result in a fully red screen, however, the "injected" div doesn't have a h-full, and thus the div below won't stretch to the height of the screen.

image

The div in question

Expected Behavior

The provider should not affect the DOM in a way that potentially breaks styling.

Steps To Reproduce

No response

Link to Minimal Reproducible Example (CodeSandbox, StackBlitz, etc.)

https://github.com/LufyCZ/rainbowkit-bug

Anything else?

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions