Pull the page down from the top to load it again — without reloading the whole page, so nothing you typed is lost.
1Load what someone else changed
Livewire reads the page again ($refresh); the browser does not reload it.
Try it
- Click “Add a rush delivery as the office” below. The office adds a rush delivery on another computer — the phone does not show it yet.
- In “Deliveries”, at the top of the list, press the mouse button and drag down slowly. Let go when the round arrow points up (about a quarter of the phone).
What happens
A round arrow appears under the top bar and spins. The list loads again and “Rush order” is the first card.
The code
FilamentWarpMobilePlugin::make()
// On by default. Leave out pages where it should not work:
->pullToRefresh(except: [EditDelivery::class])
2What you typed stays
Only the page’s data is read again. Fields keep what you typed.
Try it
- Click “Show this in the phone” below to open “Clock in”.
- Type something in the “Note” field. Do not tap “Clock in”.
- Press the mouse button on the page title and drag down, then let go.
What happens
The page refreshes: the time above the field (with seconds) is new. Your text is still in the field.
The code
// A field with wire:model keeps its text
<x-filament::input type="text" wire:model="note" />
3Where a pull does not start
Maps, drawings and anything with data-warp-mobile-no-pull keep the drag for themselves.
Try it
- In “Clock in”, press the mouse button on the striped “Your route” box and drag down.
What happens
Nothing happens: the drag belongs to the map. A pull also does not start in fields, in open sheets, or when the page is scrolled down.
The code
<div data-warp-mobile-no-pull>
{{-- a map, a signature pad, a chart… --}}
</div>
Click to tap. To swipe or pull, press the mouse button and drag — the mouse works like a finger here.
You are on a phone
The phone frame is for computers. On your phone, open the app itself and follow the steps with your finger.
Open the app