events: tell the browser some widgets prevent scroll before js does

This commit is contained in:
bordun 2017-09-16 09:28:57 +02:00
parent a4240b8bb2
commit 9b07b47179
5 changed files with 6 additions and 2 deletions

View file

@ -50,6 +50,7 @@
display: flex;
justify-content: center;
border-radius: inherit;
touch-action: none;
> * {
pointer-events: none;

View file

@ -37,6 +37,7 @@
width: 100%;
position: relative;
display: flex;
touch-action: none;
canvas {
width: 100%;
position: relative;

View file

@ -18,6 +18,7 @@
flex-wrap: wrap;
flex-direction: row;
padding:1rem 2rem 2rem 1rem;
touch-action: none;
> .widget {
min-height: 0;

View file

@ -27,7 +27,8 @@
flex:1;
background:var(--color-track);
border: 1rem solid var(--color-bg);
touch-action: none;
> canvas {
width:100%;
height:100%;

View file

@ -12,7 +12,7 @@
flex: 1 1 100%;
display: flex;
border-radius: inherit!important;
touch-action: none;
&:before {
content:"";