mirror of
https://gitee.com/ant-design/ant-design.git
synced 2024-12-02 20:19:44 +08:00
fix(🐛): Carousel throws error Unable to preventDefault inside passive event listener
(#27957)
close #27927 https://github.com/akiran/react-slick/issues/1650
This commit is contained in:
parent
e0c19e4a3d
commit
7041989b7b
@ -15,6 +15,7 @@
|
||||
touch-action: pan-y;
|
||||
-webkit-tap-highlight-color: transparent;
|
||||
}
|
||||
|
||||
.slick-list {
|
||||
position: relative;
|
||||
display: block;
|
||||
@ -56,9 +57,11 @@
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
.slick-slider .slick-track,
|
||||
.slick-slider .slick-list {
|
||||
transform: translate3d(0, 0, 0);
|
||||
touch-action: pan-y;
|
||||
}
|
||||
|
||||
.slick-track {
|
||||
@ -81,6 +84,7 @@
|
||||
visibility: hidden;
|
||||
}
|
||||
}
|
||||
|
||||
.slick-slide {
|
||||
display: none;
|
||||
float: left;
|
||||
@ -90,6 +94,7 @@
|
||||
img {
|
||||
display: block;
|
||||
}
|
||||
|
||||
&.slick-loading img {
|
||||
display: none;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user