Skip to content

Fix container scroll and dropdown visible when less space available

Deepika Guliani requested to merge 457902-remove-scroll-wi into master

What does this MR do and why?

This MR focusses on 2 bugs

  1. Remove scroll from work item attribute wrapper ... (#457902 - closed) • Deepika Guliani • 17.1 • On track

This MR changes the way we style work item two column view , we are using container queries now to make sure that in whatevar container the work item will be viewed ( maybe a drawer, modal or full view ) it will render accordingly. Removed media queries and used container styling

2. Labels dropdown on Work Items is empty on small... (#460641 - closed) • Deepika Guliani • 17.1 • On track

This MR applies some styling to the work item dropdowns to be visible with autoPlacement when less space available.

More context on why we cannot always force it it "down" here

MR acceptance checklist

  • Work item two column view layout should work as expected ( all screen sizes )
  • sticky header should work as expected ( all screen sizes )
  • Drawer view of work items/issuables should work as expected
  • Modal view should work as expected
  • Work item sidebar view droopdowns should work as expected

Screenshots or screen recordings

Screenshots are required for UI changes, and strongly recommended for all other merge requests.

Before After

Screen Recording 2024-05-17 at 2.48.15 PM.mov

Screen Recording 2024-05-17 at 11.58.39 PM.mov

Screen Recording 2024-05-17 at 2.46.49 PM.mov

Screen Recording 2024-05-17 at 2.42.11 PM.mov

How to set up and validate locally

Numbered steps to set up and validate the change are strongly suggested.

  1. Enable the FF issues_list_drawer
  2. Go to issues list , and view an "issue" in the drawer, the attributes should not overlap and be in single column
  3. Open any work item in full view and reduce the screen size by opening the dev console
  4. See that the right sidebar dropdowns open "down" irrespective of the space available

Related to #457902 (closed)

Edited by Deepika Guliani

Merge request reports