Skip to content

Give the problem dialog a fixed height - #361

Merged
AydinHassan merged 1 commit into
masterfrom
problem-modal-after-load
Oct 25, 2026
Merged

AydinHassan merged 1 commit into
masterfrom
problem-modal-after-load

Conversation

@AydinHassan

@AydinHassan AydinHassan commented Oct 25, 2026 •

Copy link
Copy Markdown
Member

Entering the editor, the problem dialog opened small, with a spinner, in the middle of the screen. When the problem text arrived it grew to its full height, so its top shot up the screen (a layout shift of 0.12).

Now it has a fixed height, 5/6 of the screen, from the start. The spinner shows while the problem loads, then the text fills in and scrolls inside if it's long. Tested against a local copy of the site, logged in: the dialog no longer moves.

@AydinHassan AydinHassan changed the title Open the problem dialog once the problem has loaded Stop the editor jumping when it opens Oct 25, 2026
@AydinHassan AydinHassan changed the title Stop the editor jumping when it opens Open the problem dialog once the problem has loaded Oct 25, 2026
@AydinHassan
AydinHassan force-pushed the problem-modal-after-load branch from 1d3ac80 to 35090be Compare October 25, 2026 06:47
@AydinHassan AydinHassan changed the title Open the problem dialog once the problem has loaded Give the problem dialog a fixed height Oct 25, 2026
It opened small with a spinner, then grew from the middle of the screen
when the problem text arrived, which looked like it slid up. Now it
opens at its full height and the text fills in.
@AydinHassan
AydinHassan force-pushed the problem-modal-after-load branch from 35090be to f0ea8df Compare October 25, 2026 06:50
@AydinHassan
AydinHassan merged commit 2f6ca2b into master Oct 25, 2026
3 checks passed
@AydinHassan
AydinHassan deleted the problem-modal-after-load branch October 25, 2026 06:50
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant