chore: fix range selection logic on ios [skip e2e]

This commit is contained in:
Aman Harwara
2023-11-09 20:31:46 +05:30
parent 6097cb50d9
commit a49549177c

View File

@@ -1185,7 +1185,7 @@ export class ItemListController
const hasMoreThanOneSelected = this.selectedItemsCount > 1
const isAuthorizedForAccess = await this.protections.authorizeItemAccess(item)
if (userTriggered && hasShift) {
if (userTriggered && hasShift && !isMobileScreen()) {
await this.selectItemsRange({ selectedItem: item })
} else if (userTriggered && this.isMultipleSelectionMode) {
if (this.selectedUuids.has(uuid) && hasMoreThanOneSelected) {