WebUI: Improve table scrolling and selection on mobile

This PR improves touch interaction with table rows that have a context menu. Previously, those rows couldn't be selected or scrolled on mobile. Additionally, this PR modifies the context menu to appear when the user removes their finger/touch, rather than the current behavior of appearing mid-touch. This allows us to only display the context menu if the user's finger remains on the same element, which should significantly reduce erroneous context menu triggering.

Closes #19819.
Closes #19820,
Closes #19823.
PR #20639.
This commit is contained in:
Thomas Piccirello
2024-04-08 23:33:10 -07:00
committed by GitHub
parent 01cc4ea90b
commit e697d40382
4 changed files with 27 additions and 22 deletions

View File

@@ -527,8 +527,10 @@ ul.filterList {
padding-left: 0;
}
ul.filterList a {
ul.filterList a,
ul.filterList span.link {
color: var(--color-text-default);
cursor: pointer;
display: block;
overflow: hidden;
padding: 4px 6px;