I have just started to learn how to build my first live app and noticed something. I am on a Mac OSX 13 and all works great on Safari (Version 11.0.1 ), Chrome (84.0.4147) and Opera (69.0.3686) but on Firefox (79.0) for some reason the socket connection either drops or something happens. I was doing the Counter tutorial and played with it to just try doing it differently. However i go the same result. After some more clicks on the buttons Firefox just stops updating the values. Just so you know i have not done the GenServer implementation on that tutorial - just simple @topic updates over the wire.
Yeah, it looks the same on desktop Firefox (Mac). But on iOS it is completely broken and LiveView can’t connect at all. I have no idea how to debug Firefox on iOS, though.
I just noticed I got this same issue with firefox but not on chrome. I’m on latest version of phoenix 1.7 and latest live view 0.18.16.
One thing I did notice though was that on firefox I get these 2 messages in devtools which don’t appear in chrome. There are no other warnings or errors in devtools or any in the elixir console.
phx-F0cLkPGu7S9EO0VE destroyed: the child has been removed from the parent - undefined app.js:1397:15
destroyed: the child has been removed from the parent - undefined