mirror of
https://github.com/qbittorrent/qBittorrent.git
synced 2025-12-17 14:08:03 -06:00
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:
committed by
GitHub
parent
01cc4ea90b
commit
e697d40382
@@ -775,7 +775,6 @@ window.qBittorrent.DynamicTable = (function() {
|
||||
this._this.deselectAll();
|
||||
this._this.selectRow(this.rowId);
|
||||
}
|
||||
return false;
|
||||
});
|
||||
tr.addEvent('keydown', function(event) {
|
||||
switch (event.key) {
|
||||
|
||||
Reference in New Issue
Block a user