`wire:loading` forces `display: inline-block` instead of the element's own display
Author: ganyiczCreated Sep 29, 2026Updated Sep 29, 2026
<div wire:loading class="flex gap-4">
...
</div>You have to add .flex / .block to get a container to lay out the way its own CSS says it should.
I'd expect it to show the element with whatever display it already has.
wire:loading.removeandwire:showalready do — neither of those needs a display modifier.wire:dirtyandwire:offlinehave the same problem.
Source: livewire/livewire