Bring back the sapper-noscroll attribute
All checks were successful
continuous-integration/drone/push Build is passing
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:
@@ -1,9 +1,10 @@
|
||||
<script>
|
||||
export let href = '#'
|
||||
export let text = ''
|
||||
export let noScroll = undefined
|
||||
</script>
|
||||
|
||||
<a href={href} class="link-change">
|
||||
<a href={href} class="link-change" sapper-noscroll={noScroll}>
|
||||
{text}
|
||||
<span class="icon">
|
||||
<slot></slot>
|
||||
|
||||
Reference in New Issue
Block a user