Skip to content

[SF][MessageView]: [Message view will keep in detail page when open the dialog again] #6799

@tandan0813

Description

@tandan0813

Describe the bug

When drill into the detail page of the MessageView, the component will keep in detail page when we close the dialog/popover and open it again. This will lead to a problem: when the data in the message view is refreshed and a certain item no longer exists, opening this dialog will still display the detail page of that non-existent item.

Isolated Example

https://sap.github.io/ui5-webcomponents-react/v2/?path=/docs/user-feedback-messageview--docs

Reproduction steps

  1. Please open the storybook: https://sap.github.io/ui5-webcomponents-react/v2/?path=/docs/user-feedback-messageview--docs
  2. Click Open Dialog to open the messageView Image
  3. Click one message to drill into the detail page, and close the dialog
  4. Open the dialog again, and it shows the detail page, not the list page.

Expected Behaviour

When close the dialog/popover, the detail page is closed as well.

Screenshots or Videos

No response

UI5 Web Components for React Version

2.5.0

UI5 Web Components Version

2.5.1

Browser

Chrome

Operating System

No response

Additional Context

No response

Relevant log output

Organization

No response

Declaration

  • I’m not disclosing any internal or sensitive information.

Metadata

Metadata

Assignees

No one assigned

    Type

    Projects

    Status

    🆕 New

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions