privateping
privateping copied to clipboard
[Creating UI for Mobile] Show Chat Screen When Clicking on Friend's Name
Describe the bug On mobile devices, the chat screen is not responsive. When a user clicks on a friend's name to start a chat, the chat area does not appear.
To Reproduce Steps to reproduce the behavior:
- Switch to mobile-version branch, and clone.
- Setup and run the project.
- Open browser in full screen
- Add friend, and accept friend request
- decrease the resolution to a mobile-like view.
Expected behavior
-
On mobile, the left side menu and the chat area on the (moves to
/waiting-room?user=exampleuser), the side menu on the left should be fully hidden, and the waiting area should be displayed on the screen. -
Similarly, when the chat screen is active (
/chat/exampleuser), the left side menu should be hidden, and the chat screen should be fully visible.
Screenshots