From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from firstgate.proxmox.com (firstgate.proxmox.com [212.224.123.68]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits)) (No client certificate requested) by lists.proxmox.com (Postfix) with ESMTPS id AB44F6E4BF for ; Mon, 23 Aug 2021 18:17:32 +0200 (CEST) Received: from firstgate.proxmox.com (localhost [127.0.0.1]) by firstgate.proxmox.com (Proxmox) with ESMTP id 9A5AF266F1 for ; Mon, 23 Aug 2021 18:17:32 +0200 (CEST) Received: from proxmox-new.maurer-it.com (proxmox-new.maurer-it.com [94.136.29.106]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits)) (No client certificate requested) by firstgate.proxmox.com (Proxmox) with ESMTPS id C1056266E1 for ; Mon, 23 Aug 2021 18:17:28 +0200 (CEST) Received: from proxmox-new.maurer-it.com (localhost.localdomain [127.0.0.1]) by proxmox-new.maurer-it.com (Proxmox) with ESMTP id 8C9F24362A for ; Mon, 23 Aug 2021 18:17:28 +0200 (CEST) Message-ID: <26df0a79-fa25-bebb-dc99-81456c9ba390@proxmox.com> Date: Mon, 23 Aug 2021 18:17:26 +0200 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:91.0) Gecko/20100101 Thunderbird/91.0 Content-Language: en-GB To: Proxmox VE development discussion , Dominik Csapak References: <20210805103135.1287114-1-d.csapak@proxmox.com> From: Thomas Lamprecht In-Reply-To: <20210805103135.1287114-1-d.csapak@proxmox.com> Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit X-SPAM-LEVEL: Spam detection results: 0 AWL 0.371 Adjusted score from AWL reputation of From: address BAYES_00 -1.9 Bayes spam probability is 0 to 1% KAM_DMARC_STATUS 0.01 Test Rule for DKIM or SPF Failure with Strict Alignment SPF_HELO_NONE 0.001 SPF: HELO does not publish an SPF Record SPF_PASS -0.001 SPF: sender matches SPF record Subject: [pve-devel] applied: Re: [PATCH widget-toolkit] panel/RRDCharts: enable scrolling for RRDCharts on touchscreens X-BeenThere: pve-devel@lists.proxmox.com X-Mailman-Version: 2.1.29 Precedence: list List-Id: Proxmox VE development discussion List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 23 Aug 2021 16:17:32 -0000 On 05/08/2021 12:31, Dominik Csapak wrote: > quote from extjs docs (AbstractChart.js): > > If you do have a chart inside a scrollable view, even if it has no > interactions, you have to set its touchAction config to the following: > > touchAction: { > panX: true, > panY: true > } > > Otherwise, if a touch action started on a chart, > a swipe will not scroll the view. > > Since we have RRDCharts always in a scrollable view, and it does not seem to > hurt non-touchscreens, enable it by default so that users on touchscreens > can scroll it. > > Reported by users in the forum: > https://forum.proxmox.com/threads/minor-but-annoying-ipad-swipe-bug.93686 > > Signed-off-by: Dominik Csapak > --- > src/panel/RRDChart.js | 5 +++++ > 1 file changed, 5 insertions(+) > > applied, thanks!