Skip to content

Text inside flux:separator not animated using wire:transition #2555

@ghabriel25

Description

@ghabriel25

Flux version

v2.13

Livewire version

v4.2

Tailwind version

v4.1

Browser and Operating System

Chrome on Windows

What is the problem?

When using wire:transition attribute on flux:separator, the text inside separator doesnt get animated (only the line). This breaks the smooth transition behavior such on validation error login form

Code snippets to replicate the problem

<form class="space-y-4" wire:submit="login">
    <flux:input icon="envelope"
                label="Email"
                placeholder="Enter your e-mail address"
                type="email"
                wire:model="email" />

    <flux:button class="w-full"
                color="green"
                data-test="signin"
                type="submit"
                variant="primary"
                wire:transition>Sign In</flux:button>

    <flux:separator text="or" wire:transition />

    <flux:button class="w-full"
                href="{{ route('google.redirect', absolute: false) }}"
                icon="google"
                wire:transition>
        Sign In with Google
    </flux:button>
</form>

Screenshots/ screen recordings of the problem

bandicam.2026-04-14.10-26-47-055.mp4

How do you expect it to work?

The reason behind this because attribute bag not applied at the container element, it only applied on before and next sibling of the text wrapper. It should be applies on the container as well for case like wire:text, wire:show etc.

Please confirm (incomplete submissions will not be addressed)

  • I have provided easy and step-by-step instructions to reproduce the bug.
  • I have provided code samples as text and NOT images.
  • I understand my bug report will be closed if I haven't met the criteria above.

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