Messages are not preserved when navigating between pages leading to flickering

When user has chat opened and navigates to another page, the chat shows three stages:

  • empty state
  • predefined prompts
  • actual messages from the opened thread

This leads to annoying content flickering

restore-chat-before

Edited by Denys Mishunov