LiveView and cursor wait after redirect

Hi All

I’m using LiveView to save a new record (following the LiveView docs). On a succesful save I have the following code:

`             |> redirect(to: Routes.family_path(NurturWeb.Endpoint, :show, family))}`

This works fine but my cursor shows busy (a spinning circle) even after the page has loaded. If I move my cursor then it goes back to its normal pointer state. I’ve tried this in both Chrome and Firefox.

I tracked the problem down to some CSS shipped with Phoenix.

.phx-disconnected {
  cursor: wait;
}


If I remove this I no longer get the spinning circle. Has anyone else come across this issue?

cheers

Dave

1 Like

Yes. It happened to me. In my case, it only works with Firefox Developer Edition without changing any CSS property. I have no idea why, BTW