You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When navigating to an item inside the MessageView component, the MessageItem is keeping the same container and scrollbar state of the MessageView.
One side effect of this is that when you have a MessageView with a significant amount of items, when navigating to a MessageItem, the size of the MessageItem container is kept the same as the MessageView. Another side effect is that if you scroll in the MessageView's list, the scrollbar state is kept when navigating to the MessageItem.
With the component loaded, click the MessageViewButton.
With the Popover opened, scroll down to the last item in the list and select the last item in the list, making the MessageItem view appear.
You can notice that the container from the previous tab (MessageView) is used by the MessageItem (use Inspect tool), and the scrollbar state is kept, making the user scroll to the top to see the content of the MessageItem.
Expected Behaviour
From my understanding, the MessageItem container should not inherit the width and height of the MessageView container.
Screenshots or Videos
No response
UI5 Web Components for React Version
^1.17.1
UI5 Web Components Version
^1.15.1
Browser
Chrome
Operating System
No response
Additional Context
No response
Relevant log output
No response
Declaration
I’m not disclosing any internal or sensitive information.
The text was updated successfully, but these errors were encountered:
Uh oh!
There was an error while loading. Please reload this page.
Describe the bug
When navigating to an item inside the MessageView component, the MessageItem is keeping the same container and scrollbar state of the MessageView.
One side effect of this is that when you have a MessageView with a significant amount of items, when navigating to a MessageItem, the size of the MessageItem container is kept the same as the MessageView. Another side effect is that if you scroll in the MessageView's list, the scrollbar state is kept when navigating to the MessageItem.
Isolated Example
https://sap.github.io/ui5-webcomponents-react/iframe.html?args=&id=user-feedback-messageview--with-message-view-button&viewMode=story
Reproduction steps
MessageView
component under the User Feedback group and select thewith MessageViewButton & Popover
option.MessageViewButton
.Popover
opened, scroll down to the last item in the list and select the last item in the list, making theMessageItem
view appear.MessageView
) is used by theMessageItem
(use Inspect tool), and the scrollbar state is kept, making the user scroll to the top to see the content of theMessageItem
.Expected Behaviour
From my understanding, the
MessageItem
container should not inherit the width and height of theMessageView
container.Screenshots or Videos
No response
UI5 Web Components for React Version
^1.17.1
UI5 Web Components Version
^1.15.1
Browser
Chrome
Operating System
No response
Additional Context
No response
Relevant log output
No response
Declaration
The text was updated successfully, but these errors were encountered: