fix: carousel's pauseOnDotsHover not work (#3519)
* fix: carousel's pauseOnDotsHover not work * fix: carousel onMouseEnter eventpull/3541/head
parent
5e92d9a7f2
commit
b7943b38ee
|
@ -604,7 +604,6 @@ export default {
|
|||
...trackProps,
|
||||
focusOnSelect: this.focusOnSelect ? this.selectHandler : null,
|
||||
ref: this.trackRefHandler,
|
||||
onMouseenter: pauseOnHover ? this.onTrackOver : noop,
|
||||
onMouseleave: pauseOnHover ? this.onTrackLeave : noop,
|
||||
onMouseover: pauseOnHover ? this.onTrackOver : noop,
|
||||
};
|
||||
|
@ -635,7 +634,6 @@ export default {
|
|||
dotProps = {
|
||||
...dotProps,
|
||||
clickHandler: this.changeSlide,
|
||||
onMouseenter: pauseOnDotsHover ? this.onDotsLeave : noop,
|
||||
onMouseover: pauseOnDotsHover ? this.onDotsOver : noop,
|
||||
onMouseleave: pauseOnDotsHover ? this.onDotsLeave : noop,
|
||||
};
|
||||
|
|
Loading…
Reference in New Issue