Project

General

Profile

Actions

Patch #43641

open

Make the issues list header sticky on vertical scroll

Added by Takashi Kato 1 day ago. Updated 1 day ago.

Status:
New
Priority:
Normal
Assignee:
-
Category:
UI
Target version:
-
Start date:
Due date:
% Done:

0%

Estimated time:

Description

This patch implements a sticky header for the issue list when scrolling.
While currently limited to issues, this approach can be applied to other list views as well.

Limitations

The header will not be fixed under the following conditions: When a horizontal scrollbar is present, the sticky header becomes detached from the table body.
Since it is impossible to synchronize the widths of the header and the table in this state, the feature is disabled for:

  • Narrow windows where a horizontal scrollbar is displayed.
  • Mobile mode.

State Transition Table

state state event event event
Horizontal scrollbar table and window start change state of a horizontal scrollbar change state of overlapping table and window
1 none not overlapping header: normal →2 set sticky →3
2 displayed not overlapping header: normal →1 →4
3 none overlapping header: sticky set header normal →4 set header normal →1
4 displayed overlapping header: normal set header sticky→3 →2

Files

Actions

Also available in: Atom PDF