fix(components): prevent carousel from auto playing (#14553)

prevent carousel from auto playing

closed #14524
This commit is contained in:
cuongle-hdwebsoft 2023-10-15 18:38:17 +07:00 committed by GitHub
parent 0e9cadeeed
commit cea19ac161
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -212,7 +212,7 @@ export const useCarousel = (
function resetTimer() { function resetTimer() {
pauseTimer() pauseTimer()
startTimer() if (!props.pauseOnHover) startTimer()
} }
function setContainerHeight(height: number) { function setContainerHeight(height: number) {