Skip to content

Commit

Permalink
fix: next slide is wrapped for part of the animation
Browse files Browse the repository at this point in the history
Barely noticeable without slowing down the animation, but caused a nasty flicker effect.
  • Loading branch information
cristinecula committed Dec 10, 2023
1 parent 63ef3cb commit 8f61e73
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/use-slider.ts
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ interface SlideRef extends Slide {
}

export const styles = {
host: { position: 'relative', display: 'block', overflow: 'hidden' },
host: { position: 'relative', display: 'flex', overflow: 'hidden' },
slide: {
position: 'static',
width: '100%',
Expand Down

0 comments on commit 8f61e73

Please sign in to comment.