events: tell the browser some widgets prevent scroll before js does
This commit is contained in:
parent
a4240b8bb2
commit
9b07b47179
5 changed files with 6 additions and 2 deletions
|
|
@ -50,6 +50,7 @@
|
|||
display: flex;
|
||||
justify-content: center;
|
||||
border-radius: inherit;
|
||||
touch-action: none;
|
||||
|
||||
> * {
|
||||
pointer-events: none;
|
||||
|
|
|
|||
|
|
@ -37,6 +37,7 @@
|
|||
width: 100%;
|
||||
position: relative;
|
||||
display: flex;
|
||||
touch-action: none;
|
||||
canvas {
|
||||
width: 100%;
|
||||
position: relative;
|
||||
|
|
|
|||
|
|
@ -18,6 +18,7 @@
|
|||
flex-wrap: wrap;
|
||||
flex-direction: row;
|
||||
padding:1rem 2rem 2rem 1rem;
|
||||
touch-action: none;
|
||||
|
||||
> .widget {
|
||||
min-height: 0;
|
||||
|
|
|
|||
|
|
@ -27,7 +27,8 @@
|
|||
flex:1;
|
||||
background:var(--color-track);
|
||||
border: 1rem solid var(--color-bg);
|
||||
|
||||
touch-action: none;
|
||||
|
||||
> canvas {
|
||||
width:100%;
|
||||
height:100%;
|
||||
|
|
|
|||
|
|
@ -12,7 +12,7 @@
|
|||
flex: 1 1 100%;
|
||||
display: flex;
|
||||
border-radius: inherit!important;
|
||||
|
||||
touch-action: none;
|
||||
|
||||
&:before {
|
||||
content:"";
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue