Mobile chat
-
As I chat with a friend @Technowix through my tablet in this forum, the chat screen takes the full screen area, as I pressed back button and navigated to other parts of the forum the chat screen continues to take about half of the screen, giving me the impression that the browser is not responding.
Then only I realized that it is the chat screen which takes up the full area and thus the white screen. I am using a 8 inch tablet running kitkat.
-
@psychobunny @baris How robust is the mobile-device detection method on the client side? It may be easier to just not open the modal at all, and simply redirect the user to
/chats/recipient-slug
instead, since the chat modal is wonky on mobile, whereas the chat page isn't. -
isMobile = /Android|webOS|iPhone|iPad|iPod|BlackBerry|IEMobile|Opera Mini/i.test(navigator.userAgent);
is the mobile check we use. Seems to work on android haven't tested others.Also when I go to
/chats/recipient
on mobile I get the below, so it is wonky