Skip to content

State Variant with Responsive Prefix does not work with group-hover #464

@georgeboot

Description

@georgeboot

Steps to reproduce

Create element

Create an element with:

<div class="group bg-red p-8">
    <div class="hidden md:group-hover:block bg-blue p-4">
        Only visible when group is hovered
    </div>
</div>

Enable group-hover state variant

Enable the group-hover state variant to the display module and compile

module.exports = {
    // ...
    
    modules: {
        // ...
        
        display: ['responsive', 'group-hover'],
        
        // ...
    }
    
    // ...
}l

Test

Test. It won't work. It only works without the responsive prefix: group-hover:block

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions