fluentui icon indicating copy to clipboard operation
fluentui copied to clipboard

DetailsList element selection doesn't remain in list's viewport after PageUp and PageDown

Open shaaradmsft opened this issue 9 years ago • 5 comments

Bug Report

Are you willing to submit a PR to fix? No

Requested priority: High

Products/sites affected: (if applicable)

Describe the issue:

In DetailsList, if there are large number of elements, scrolling through the elements with PageDown or PageUp doesn't change the selected element. e.g. if first list element is selected, and PageDown is pressed a few times, followed by down arrow for fine selection, the selection actually goes to second element and the list scrolls all the way up. This can be easily reproduced on https://dev.office.com/fabric#/components/detailslist

Actual behavior:

PageUp/PageDown doesn't change the selected row.

Expected behavior:

PageUp/PageDown should change the selected row everytime so that the selected row remains in the viewport always.

shaaradmsft avatar Apr 27 '17 11:04 shaaradmsft

Why should page up/down change selection?

cschleiden avatar Apr 27 '17 19:04 cschleiden

@cschleiden, First of all, this is from an accessibility perspective, especially keyboard-only navigation.

Because once you PageDown enough times, the selected element goes out of the currently shown items in the list. In a purely keyboard-driven selection approach, there is no easy way otherwise to select an element that's 100-200 elements away from the current selection apart from long-pressing the arrow keys.

If a change is made to always keep the currently selected element always among one of those currently being shown, it's very easy for a keyboard-only user to do few page downs and few down arrows to select any element quickly.

shaaradmsft avatar Apr 28 '17 06:04 shaaradmsft

@cschleiden, Can you please update the tags and status.

Hardhik avatar May 19 '17 09:05 Hardhik

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions to Fabric React!

stale[bot] avatar Apr 11 '18 12:04 stale[bot]

This issue has been automatically closed because it has not had recent activity after being marked as stale. If you belive this issue is still a problem or should be reopened, please reopen it! Thank you for your contributions to Fabric React! Why am I receiving this notification?

stale[bot] avatar May 18 '18 19:05 stale[bot]