From 3c37477a44bf10ce447cb409d29631c208951ba1 Mon Sep 17 00:00:00 2001 From: xenofem Date: Fri, 18 Apr 2025 14:38:01 -0400 Subject: [PATCH 1/2] Fix mobile scrolling within kanban columns in arrow-buttons mode Setting `touch-action: none;` on kanban items isn't necessary when dragging is disabled, and it interferes with tapping and dragging to scroll columns. On Android Firefox, Android Chromium, and Linux Firefox in responsive-design mode with touch simulation, I'm finding that after drag-scrolling a column in arrow-buttons mode, there's a 15-second cooldown before I'm able to scroll it again (unless I very carefully aim my finger for the gap between kanban items where the `touch-action: none;` rule isn't applied). --- www/kanban/app-kanban.less | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/www/kanban/app-kanban.less b/www/kanban/app-kanban.less index 700712758..7bca60729 100644 --- a/www/kanban/app-kanban.less +++ b/www/kanban/app-kanban.less @@ -241,8 +241,8 @@ background: @cp_kanban-item-bg; box-shadow: @cryptpad_ui_shadow; .tools_unselectable(); - touch-action: none; &:not(.no-drag) { + touch-action: none; cursor: move; cursor: grab; } From 6b1cdcddca830fd69e7404c4a72bea47b26f2fc3 Mon Sep 17 00:00:00 2001 From: Daria <95225431+dariiing@users.noreply.github.com> Date: Fri, 25 Apr 2025 12:44:01 +0300 Subject: [PATCH 2/2] Remove redundant cursor property the property is overwritten --- www/kanban/app-kanban.less | 1 - 1 file changed, 1 deletion(-) diff --git a/www/kanban/app-kanban.less b/www/kanban/app-kanban.less index 7bca60729..de65bbcf8 100644 --- a/www/kanban/app-kanban.less +++ b/www/kanban/app-kanban.less @@ -243,7 +243,6 @@ .tools_unselectable(); &:not(.no-drag) { touch-action: none; - cursor: move; cursor: grab; }