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

@@ -46,7 +46,7 @@
<div class="photo__image wrap">
<div class="align">
<a href="/viewer/{location.country.slug}/{location.slug}/{photo.slug}">
<a href="/viewer/{location.country.slug}/{location.slug}/{photo.slug}" sapper-noscroll>
<picture class="photo__picture">
<source media="(min-width: 992px)" data-srcset={getThumbnail(private_hash, 1300)}>
<source media="(min-width: 768px)" data-srcset={getThumbnail(private_hash, 992)}>