Skip to content

Commit

Permalink
Merge pull request #354 from RickRosendaal/bugfix/outdated-min-max-sl…
Browse files Browse the repository at this point in the history
…ide-index-on-window-resize

Update slides data on window resize
  • Loading branch information
ismail9k authored Dec 11, 2023
2 parents b8367cd + f091d30 commit d2bd04c
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/components/Carousel.ts
Original file line number Diff line number Diff line change
Expand Up @@ -112,6 +112,7 @@ export default defineComponent({

const handleWindowResize = debounce(() => {
updateBreakpointsConfigs()
updateSlidesData()
updateSlideWidth()
}, 16)

Expand Down

0 comments on commit d2bd04c

Please sign in to comment.