Skip to content

Page jumps when opening work item in the contextual view (panel)

Problem to solve

The work item contextual view previously opened in a drawer overtop the page content, not effecting the scroll position. Now that it opens in a panel (which then reduces the size of the originating page), the page reflow can cause a loss of context where the originating trigger element the user clicked on is now out of view. See example screen capture below:

Screen capture

context_issue

Proposal

Upon opening a work item within the panel, ensure the originating trigger element stays within the viewport, or scroll/anchor to the element.

Edited by 🤖 GitLab Bot 🤖