Skip to content

[Bug]: Connect button invisible on instance card (Tailwind cascade order bug with group-hover:opacity-100 vs opacity-0) #32

Description

@RodrigoAraujo2

Prerequisites

  • I have searched existing issues to ensure this bug hasn't been reported before
  • I have read the documentation
  • I am using a supported version of Evolution Manager

Bug Description

On the Instances list page (/manager/instances), the action buttons on each instance card (Connect, Settings gear, Delete) are invisible even on hover, although they exist correctly in the DOM and are fully functional (clickable via keyboard focus / programmatic click).

Root cause found via DevTools: the button wrapper has both opacity-0 and group-hover:opacity-100 Tailwind classes. The compiled CSS rule .group-hover\:opacity-100:is(:where(.group):hover *) { opacity: 1; } exists correctly in the stylesheet and the .group ancestor (the card) DOES receive :hover correctly when the mouse is over it (verified with element.matches(':hover') = true), but the computed opacity of the wrapper stays at 0 regardless. This points to a CSS cascade/specificity ordering issue in the compiled Tailwind output (likely the opacity-0 utility rule being emitted after the group-hover:opacity-100 rule in the same layer, so it wins the cascade despite both having equal specificity).

Workaround confirmed: injecting .group:hover .group-hover\:opacity-100 { opacity: 1 !important; } via a custom stylesheet fixes it immediately.

Steps to Reproduce

  1. Deploy Evolution Go + Manager via Docker (image: evoapicloud/evolution-go:latest)
    1. Log in to the manager and go to /manager/instances
    1. Create an instance
    1. Hover the mouse over the instance card, over the area below the "Status" row (where the Connect/Settings/Delete buttons should be)
    1. Nothing appears; the card looks empty below the Status row

Expected Behavior

Hovering over the instance card should reveal the Connect / Settings / Delete action buttons (they are visually hidden by default via opacity-0 and meant to be revealed via group-hover:opacity-100, but the reveal never happens).

Actual Behavior

No buttons are visible on hover. Inspecting the wrapper element shows computed opacity: 0, even while the .group ancestor genuinely matches :hover (confirmed via JS: group.matches(':hover') === true). The buttons still exist in the DOM and are fully clickable (via keyboard Tab+Enter or programmatic click), so this is a pure CSS rendering bug, not a logic/JS bug.

Screenshots

No response

Browser

Chrome

Browser Version

Chrome 150.0.0.0

Evolution Manager Version

latest (evoapicloud/evolution-go:latest, digest 86795d038b0f, same as tag 0.7.1)

Evolution API Version

N/A - self-hosted Evolution Go (not Evolution API), same repo family

Operating System

Windows

Console Logs

Additional Context

No response

Contribution

  • I would like to work on fixing this bug

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Fields

    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