Skip to content

AboutPage: Prevent infinite loop

Aleix Pol Gonzalez requested to merge work/aboutitem-no-middlecomponent into master

Do not use the width of the item but the width of the page to decide if we are on wide mode in the FormLayout.

For some reason our default height hits a perfect storm of:

  • growing past the page height
  • adds a scrollbar
  • this narrows the view and we enable the compact mode
  • this makes it fit again
  • goto 0

I worry that we might still hit this in other places, it would be good to see if we can make FormLayout more resilient there.

BUG: 447958

Edited by Aleix Pol Gonzalez

Merge request reports