Skip to content

Commit

Permalink
fix(animations): fix clipping issue
Browse files Browse the repository at this point in the history
  • Loading branch information
Darkness4 committed Jan 19, 2024
1 parent fc5f00b commit 089acf5
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions src/lib/components/AnimatedInView.svelte
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,6 @@
export let options: Options = {};
export let animation = 'none';
export let animation_out = 'none; opacity: 0';
export let once = false;
let isInView = false;
Expand All @@ -28,7 +27,7 @@
<slot />
</div>
{:else}
<div style="animation: {animation_out};">
<div style="visibility: hidden;">
<slot />
</div>
{/if}
Expand Down

0 comments on commit 089acf5

Please sign in to comment.