mirror of
https://github.com/hcengineering/platform.git
synced 2024-11-22 21:50:34 +03:00
Disabled touch when Pop-up is open (#2308)
Signed-off-by: Alexander Platov <sas_lord@mail.ru>
This commit is contained in:
parent
098aff603d
commit
c008140983
@ -181,6 +181,7 @@
|
||||
left: 0;
|
||||
width: 100%;
|
||||
height: 100%;
|
||||
touch-action: none;
|
||||
|
||||
&.show {
|
||||
background: rgba(0, 0, 0, 0.5);
|
||||
|
@ -162,5 +162,6 @@
|
||||
width: 100%;
|
||||
height: 100vh;
|
||||
transition: background-color 0.5s ease;
|
||||
touch-action: none;
|
||||
}
|
||||
</style>
|
||||
|
@ -101,7 +101,10 @@
|
||||
class="flex-center widget mr-3"
|
||||
class:on={isMobile}
|
||||
class:always={alwaysMobile}
|
||||
on:click={() => (alwaysMobile = !alwaysMobile)}
|
||||
on:click={() => {
|
||||
alwaysMobile = !alwaysMobile
|
||||
document.documentElement.style.setProperty('--app-height', `${window.innerHeight}px`)
|
||||
}}
|
||||
>
|
||||
<WiFi size={'small'} />
|
||||
</div>
|
||||
|
Loading…
Reference in New Issue
Block a user