Bring back the sapper-noscroll attribute
All checks were successful
continuous-integration/drone/push Build is passing

Window scroll is now been triggered manually during the page transition and not automatically by Sapper
This commit is contained in:
2020-04-04 11:46:17 +02:00
parent 94fa63ef41
commit 37c5cb2c4e
7 changed files with 11 additions and 8 deletions

View File

@@ -22,7 +22,7 @@
<div class="switcher {type}">
<div class="switcher__text" class:empty={!location}>
<a href="/">
<a href="/" sapper-noscroll>
{#if !location}
<span class="top">Houses</span>
<span class="bottom">
@@ -36,7 +36,7 @@
</div>
<div class="button-control button-control--dashed switcher__icon">
<a href="/choose" aria-label="Change the location">
<a href="/choose" aria-label="Change the location" sapper-noscroll>
<IconGlobe
color={type.includes('side') ? '#333' : '#fff'}
width={type.includes('side') ? 18 : 24}