[MGNLUI-1927] Shell app view layout after transition happens too late. Created: 19/Aug/13  Updated: 20/Aug/13  Resolved: 19/Aug/13

Status: Closed
Project: Magnolia UI
Component/s: pulse
Affects Version/s: 5.0.3
Fix Version/s: 5.0.3, 5.1

Type: Bug Priority: Major
Reporter: Christopher Zimmermann Assignee: Aleksandr Pchelintcev
Resolution: Fixed Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Issue Links:
causality
is causing MGNLUI-1932 Single, unread message in Pulse cause... Closed
Template:
Acceptance criteria:
Empty
Task DoD:
[ ]* Doc/release notes changes? Comment present?
[ ]* Downstream builds green?
[ ]* Solution information and context easily available?
[ ]* Tests
[ ]* FixVersion filled and not yet released
[ ]  Architecture Decision Record (ADR)
Bug DoR:
[ ]* Steps to reproduce, expected, and actual results filled
[ ]* Affected version filled

 Description   

To reproduce bug:

  • Open a message in pulse so you have the message view.
  • Close the pulse / or switch to another shell app.
  • Open the pulse again.
  • The message view is still open, which is correct,
  • But while it is transitioning - the rendering is bad - the actionbar is not displayed, Message title is in the wrong place, Back to messages button is in the wrong place.
  • Suddenly when transition is done - rendering snaps to perfect.

After watching CSS in firebug - I think the problem is the result of the horizontallayout (MessageViewImpl) not running its layout routine until the transition is finished.

While incorrectly rendered:
Element v-horzontallayout-message-detail > v-expand has padding-left:0px instead of 270px.
Element v-horzontallayout-message-detail > v-expand > v-slot has margin-left:0px instead 0f -270px.


Generated at Mon Feb 12 08:51:30 CET 2024 using Jira 9.4.2#940002-sha1:46d1a51de284217efdcb32434eab47a99af2938b.