Skip to content

[BUG] Square shape on MetaMask login screen when using transparencies #41

Closed

Description

@marcosdellavecchia

Describe the bug

When setting the style property --ck-body-background to a color with transparency, the "MetaMask Login" screen displays a translucent square shape behind the content.

To reproduce

  1. Apply the following custom style for the connect kit modal:
customTheme={{ '--ck-body-background': 'rgba(255, 255, 255, 0.04)' }}
  1. Attempt to login using MetaMask.

Expected behavior

The screen displays a translucent square shape behind the modal content.

Screenshots

Screen Shot 2022-11-09 at 20 59 09

Environment details

Google Chrome 107.0.5304.87

Activity

  1. lochie commented on Nov 10, 2022

    @lochie
    Member

    Good catch @marcosdellavecchia!
    I can get this fixed in the next patch as this additional layer isn't necessary anymore (was needed to support an animation that has since been removed).

    Will follow up when that's available ☺️

  2. lochie commented on Nov 28, 2022

    @lochie
    Member

    Hey @marcosdellavecchia,

    Thanks again for letting us know about this, this is now fixed in the latest version of ConnectKit (1.0.1). ✨

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions