#10771·livewire

`wire:loading` forces `display: inline-block` instead of the element's own display

Author: ganyiczCreated Sep 29, 2026Updated Sep 29, 2026
blade
<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.remove and wire:show already do — neither of those needs a display modifier.
  • wire:dirty and wire:offline have the same problem.