Base solution for your next web application
Open Closed

chat window goes blank when starting a conversation #12293


User avatar
0
ricardo created

AspNetCore V13.0.0.0

when we select a user to start a conversation, the screen goes blank. I couldn't identify any errors.

tanks.

Markdown is supported
Copy & paste or drag & drop images (max 30 MB per image)

3 Answer(s)
  • User Avatar
    0
    oguzhanagir created
    Support Team

    Hi @ricardo

    We could not reproduce this situation in the relevant version and the latest version. In order to detect the problem, you can share your project with the e-mail address [email protected]. Or, you can debug the messages variable in the GetUserChatMessages method in the ChatAppService to see if messages belonging to the relevant person are coming here. As shown in the screenshot

    Markdown is supported
    Copy & paste or drag & drop images (max 30 MB per image)
  • User Avatar
    0
    ricardo created

    Hi,

    I sent the project by email;

    Tanks

    Markdown is supported
    Copy & paste or drag & drop images (max 30 MB per image)
  • User Avatar
    0
    oguzhanagir created
    Support Team

    Hi @ricardo

    Removing the "signalr" package and upgrading the "@microsoft/signalr" package to version "8.0.7" fixes the chat connection problem.

    For the invisibility issue, replace the content of the showMessagesPanel function in the _ChatBar.js file with the following code.

    showMessagesPanel: function () {
        $('#kt_drawer_chat_friends').addClass("d-none");
        $('#kt_drawer_chat_messenger').removeClass("d-none");
        $('#kt_quick_sidebar_back').removeClass('d-none');
    },
    
    Markdown is supported
    Copy & paste or drag & drop images (max 30 MB per image)