Disable reordering of work item children when breakpoint is `xs`
What does this MR do and why?
Disables reordering of work item children when breakpoint is xs
so that users do not accidentally reorder while scrolling on mobile (see related issue #415590 (closed))
Screenshots or screen recordings
Size | Before | After |
---|---|---|
xs (<576px) |
Screen_Recording_2024-10-03_at_13.34.12 | Screen_Recording_2024-10-03_at_13.33.54 |
sm or larger (>=576px)(note: no change) |
Screen_Recording_2024-10-03_at_13.35.34 | Screen_Recording_2024-10-03_at_13.33.33 |
How to set up and validate locally
- Check out this branch
- In the GDK, visit any page where there is a work item children tree (e.g., an issue with child tasks, or an epic with children)
- Use dev tools to set your viewport width to be within the
xs
breakpoint (that is, <= 578px wide) - You should see that you cannot reorder children in the child items widget
- Make your viewport wider than the
xs
breakpoint - You should see that you can reorder child items again
Related to #415590 (closed)