Brabim21 / Hostel_Management_System

0 stars 0 forks source link

Redirect to Dashboard After Sending Chat Message #60

Closed Alishapokharel1 closed 5 months ago

Alishapokharel1 commented 6 months ago

Description: In the 'Chat with Admin' section, after sending a message, the user is unexpectedly redirected to the dashboard instead of staying on the chat page.

Expected Behavior: After sending a chat message, the user should remain on the chat page to view or continue the conversation.

Steps to Reproduce: Go to the 'Chat with Admin' section. Send a message to the admin. Observe the redirection to the dashboard.

Screenshot: image

Environment: Browser: Google Chrome 124.0.6367.201 OS: Windows 11 Home, Version 22H2, OS Build 22621.2361

Additional Context: The issue could be caused by an erroneous redirect command or event handling in the chat system. Checking the event listeners and the execution flow post-message submission will be essential.

SwatantraNp1 commented 5 months ago

Issue solved