From 3e414996c24efac125e0f26fb6af1e4ae5f46748 Mon Sep 17 00:00:00 2001 From: Krzysztof Kotlarek Date: Fri, 21 Apr 2023 11:01:52 +1000 Subject: [PATCH] FIX: increase reorder sidebar delay for desktop (#21196) 100ms as a single click was too fast, because average single click is closer to 250ms. Previous PR: https://github.com/discourse/discourse/pull/21098 --- .../discourse/app/components/sidebar/user/section-link.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/assets/javascripts/discourse/app/components/sidebar/user/section-link.js b/app/assets/javascripts/discourse/app/components/sidebar/user/section-link.js index 8b75220322e..6b2edbffb04 100644 --- a/app/assets/javascripts/discourse/app/components/sidebar/user/section-link.js +++ b/app/assets/javascripts/discourse/app/components/sidebar/user/section-link.js @@ -4,7 +4,7 @@ import RouteInfoHelper from "discourse/lib/sidebar/route-info-helper"; import discourseLater from "discourse-common/lib/later"; const TOUCH_SCREEN_DELAY = 300; -const MOUSE_DELAY = 100; +const MOUSE_DELAY = 250; export default class SectionLink { @tracked linkDragCss;