mirror of
https://github.com/lucaspalomodevelop/core.git
synced 2026-03-14 16:44:39 +00:00
Widgets Controls on Touch Screen
Touch events not working with the widget controls (link, buttons, drag/drop sort). Add distance, delay and touch-action css for the widget controls to work with touch screen input. Widget controls not working correctly with touch screen input https://github.com/opnsense/core/issues/2092
This commit is contained in:
parent
5e62a4d608
commit
3f7ee41b53
@ -276,6 +276,8 @@ include("fbegin.inc");?>
|
||||
// sortable widgets
|
||||
$(".dashboard_grid_column").sortable({
|
||||
handle: '.content-box-head',
|
||||
delay: 50,
|
||||
distance: 2,
|
||||
group: 'dashboard_grid_column',
|
||||
itemSelector: '.widgetdiv',
|
||||
containerSelector: '.dashboard_grid_column',
|
||||
@ -369,7 +371,7 @@ include("fbegin.inc");?>
|
||||
}?>
|
||||
<section class="widgetdiv" data-sortkey="<?=$widgetItem['sortKey'] ?>" id="<?=$widgetItem['name'];?>" style="display:<?=$divdisplay;?>;">
|
||||
<div class="content-box">
|
||||
<header class="content-box-head container-fluid">
|
||||
<header class="content-box-head container-fluid" style="touch-action: none">
|
||||
<ul class="list-inline __nomb">
|
||||
<li><h3>
|
||||
<?php
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user