Scroll list into view when filtering event participants #1300
Labels
💡 enhancement
New feature or request
🚪 entry-level
Good for newcomers
🐬 Medium
Just a nice sized issue.
Description
A user is now able to filter participants in the event participants list, a feature which was introduced by #1285. However, there is a potential problem on this page for users on small screens, which is that they may see the filter feature without seeing the list, which is further down the page.
One solution would be to scroll the list into view when the user starts filtering, either
onFocus
or the firstonFilterChange
(perhaps better). This will require some experimentation to make sure it feels right.Relevant Job Stories
None
Prerequisites
None
Requirements
Possible implementations
I'm guessing there will need to be a ref on the first list, and that
scrollIntoView()
can be used with thesmooth
behaviour.Design specifications
This is the context (note how the actual list being filtered is outside of the window below the fold, while the input field is not):
Open questions
When to trigger the scroll exactly? Let's experiment!
The text was updated successfully, but these errors were encountered: