Nested scroll inside vertical swiper slide when mousewheel: trueCSS center text (horizontally and vertically) inside a div blockVertically centering a div inside another divHow to vertically align an image inside a divTwo divs side by side - Fluid displayCannot display HTML stringIn CSS Flexbox, why are there no “justify-items” and “justify-self” properties?Swiper with non-sibling slidesbackground-size: cover w/ Angular2How to centre div vertically and horizontally inside another div when using display: flex?How to Vertically Center a Bootstrap 4 Carousel slide during its transition?
When Vesuvan Shapeshifter copies turn face up replacement effects, why do they work?
Phonetic distortion when words are borrowed among languages
Replace zeros in a list with last nonzero value
Avoiding dust scattering when you drill
As a team leader is it appropriate to bring in fundraiser candy?
Drawing Maps; flat distortion
How do French and other Romance language speakers cope with the movable do system?
Did Joe Biden "stop a prosecution" into his son in Ukraine? And did he brag about stopping the prosecution?
Is there a way to make an animal companion able to read a language?
Everyone Gets a Window Seat
What does "execute a hard copy" mean?
Does the 'java' command compile Java programs?
Where does the image of a data connector as a sharp metal spike originate from?
How to identify whether a publisher is genuine or not?
Is "weekend warrior" derogatory?
How to level a picture frame hung on a single nail?
Airport Security - advanced check, 4th amendment breach
PhD Length: are shorter PhD degrees (from different countries) valued differently in other counter countries where PhD Is a longer process?
Duck, duck, gone!
Why did they use ultrafast diodes in a 50 or 60 Hz bridge?
Is spot metering just an EV compensation?
Why not add cuspidal curves in the moduli space of stable curves?
How closely correlated is culture to geography?
Manager told a colleague of mine I was getting fired soon
Nested scroll inside vertical swiper slide when mousewheel: true
CSS center text (horizontally and vertically) inside a div blockVertically centering a div inside another divHow to vertically align an image inside a divTwo divs side by side - Fluid displayCannot display HTML stringIn CSS Flexbox, why are there no “justify-items” and “justify-self” properties?Swiper with non-sibling slidesbackground-size: cover w/ Angular2How to centre div vertically and horizontally inside another div when using display: flex?How to Vertically Center a Bootstrap 4 Carousel slide during its transition?
.everyoneloves__top-leaderboard:empty,.everyoneloves__mid-leaderboard:empty,.everyoneloves__bot-mid-leaderboard:empty
margin-bottom:0;
I have a vertical slider and I'm using swiper to navigate through the slides.
Every swiper-slide container height is 100vh.
I have a slide which content is greater than the view height and when scrolling with the mousewheel, I want to first scroll it's content and when the end or top is reached, according to the scroll direction, move to the next or previous slide.
I went through swiper documentation, SO and other pages but didn't find a solution.
Here is the jsfiddle:
https://jsfiddle.net/gentian28/6wdsep1v/13/
HTML
<div class="swiper-container">
<main class="main swiper-wrapper">
<!-- landing -->
<section id="home" class="swiper-slide">
<div id="particles-js"></div>
<div id="typeIt" class="d-flex align-center"></div>
</section>
<!-- about -->
<section id="about" class="swiper-slide">
<span class="animation">About</span>
</section>
<!-- portfolio -->
<section id="portfolio" class="swiper-slide d-flex flex-wrap col-3">
<div class="card">
card 1
</div>
<div class="card">
card 2
</div>
<div class="card">
card 3
</div>
<div class="card">
card 4
</div>
<div class="card">
card 1
</div>
<div class="card">
card 1
</div>
<div class="card">
card 1
</div>
<div class="card">
card 1
</div>
<div class="card">
card 1
</div>
<div class="card">
card 1
</div>
<div class="card">
card 1
</div>
</section>
<!-- technologies -->
<section id="skills" class="swiper-slide">
Skills
</section>
<!-- contact -->
<section id="contact" class="swiper-slide">
Contact
</section>
</main>
</div>
CSS
body
margin: 0;
padding: 0;
.d-flex
display: flex;
.align-center
align-items: center;
.justify-center
justify-content: center;
.justify-between
justify-content: space-between;
.flex-column
flex-flow: column;
.column-reverse
flex-flow: column-reverse;
.flex-wrap
flex-wrap: wrap;
.col-2 > *
width: calc(100% / 2 - 7.5px);
margin-right: 15px;
margin-bottom: 15px;
.col-2 > *:nth-child(2n)
margin-right: 0;
.col-3 > *
width: calc(100% / 3 - 10px);
margin-right: 15px;
.col-3 > *:nth-child(3n)
margin-right: 0;
.col-4 > *
width: calc(100% / 4 - 10.5px);
margin-right: 14px;
.col-4 > *:nth-child(4n)
margin-right: 0;
.card
height: 300px;
.swiper-container
width: 100% - 120px;
height: 100vh;
margin-left: auto;
margin-right: auto;
.swiper-slide
text-align: center;
font-size: 18px;
background: #fff;
/* Center slide text vertically */
display: -webkit-box;
display: -ms-flexbox;
display: -webkit-flex;
display: flex;
-webkit-box-pack: center;
-ms-flex-pack: center;
-webkit-justify-content: center;
justify-content: center;
-webkit-box-align: center;
-ms-flex-align: center;
-webkit-align-items: center;
align-items: center;
overflow-y: auto;
.swiper-pagination
display: flex;
flex-flow: column;
.swiper-pagination-bullet-active
opacity: 0;
.swiper-pagination-bullet
width: 120px;
height: 96px;
border-radius: 0;
opacity: 0;
JS
const swiperConf =
direction: 'vertical',
slidesPerView: 1,
spaceBetween: -1,
mousewheel: true,
keyboard: true,
pagination:
el: '.swiper-pagination',
clickable: true,
var swiper = new Swiper('.swiper-container', swiperConf);
javascript html css scroll swiper
|
show 1 more comment
I have a vertical slider and I'm using swiper to navigate through the slides.
Every swiper-slide container height is 100vh.
I have a slide which content is greater than the view height and when scrolling with the mousewheel, I want to first scroll it's content and when the end or top is reached, according to the scroll direction, move to the next or previous slide.
I went through swiper documentation, SO and other pages but didn't find a solution.
Here is the jsfiddle:
https://jsfiddle.net/gentian28/6wdsep1v/13/
HTML
<div class="swiper-container">
<main class="main swiper-wrapper">
<!-- landing -->
<section id="home" class="swiper-slide">
<div id="particles-js"></div>
<div id="typeIt" class="d-flex align-center"></div>
</section>
<!-- about -->
<section id="about" class="swiper-slide">
<span class="animation">About</span>
</section>
<!-- portfolio -->
<section id="portfolio" class="swiper-slide d-flex flex-wrap col-3">
<div class="card">
card 1
</div>
<div class="card">
card 2
</div>
<div class="card">
card 3
</div>
<div class="card">
card 4
</div>
<div class="card">
card 1
</div>
<div class="card">
card 1
</div>
<div class="card">
card 1
</div>
<div class="card">
card 1
</div>
<div class="card">
card 1
</div>
<div class="card">
card 1
</div>
<div class="card">
card 1
</div>
</section>
<!-- technologies -->
<section id="skills" class="swiper-slide">
Skills
</section>
<!-- contact -->
<section id="contact" class="swiper-slide">
Contact
</section>
</main>
</div>
CSS
body
margin: 0;
padding: 0;
.d-flex
display: flex;
.align-center
align-items: center;
.justify-center
justify-content: center;
.justify-between
justify-content: space-between;
.flex-column
flex-flow: column;
.column-reverse
flex-flow: column-reverse;
.flex-wrap
flex-wrap: wrap;
.col-2 > *
width: calc(100% / 2 - 7.5px);
margin-right: 15px;
margin-bottom: 15px;
.col-2 > *:nth-child(2n)
margin-right: 0;
.col-3 > *
width: calc(100% / 3 - 10px);
margin-right: 15px;
.col-3 > *:nth-child(3n)
margin-right: 0;
.col-4 > *
width: calc(100% / 4 - 10.5px);
margin-right: 14px;
.col-4 > *:nth-child(4n)
margin-right: 0;
.card
height: 300px;
.swiper-container
width: 100% - 120px;
height: 100vh;
margin-left: auto;
margin-right: auto;
.swiper-slide
text-align: center;
font-size: 18px;
background: #fff;
/* Center slide text vertically */
display: -webkit-box;
display: -ms-flexbox;
display: -webkit-flex;
display: flex;
-webkit-box-pack: center;
-ms-flex-pack: center;
-webkit-justify-content: center;
justify-content: center;
-webkit-box-align: center;
-ms-flex-align: center;
-webkit-align-items: center;
align-items: center;
overflow-y: auto;
.swiper-pagination
display: flex;
flex-flow: column;
.swiper-pagination-bullet-active
opacity: 0;
.swiper-pagination-bullet
width: 120px;
height: 96px;
border-radius: 0;
opacity: 0;
JS
const swiperConf =
direction: 'vertical',
slidesPerView: 1,
spaceBetween: -1,
mousewheel: true,
keyboard: true,
pagination:
el: '.swiper-pagination',
clickable: true,
var swiper = new Swiper('.swiper-container', swiperConf);
javascript html css scroll swiper
1
I searched hard in API and forum and could not fix your jsFiddle. It seems very possible with dragging but not with mousewheel. Research nested swipers and try to recreate a new example or see other's mousewheel solutions idangero.us/swiper/forum/#!/?mousewheel
– Daryll
Mar 28 at 22:10
1
I managed to solve it, here is the jsfiddle: jsfiddle.net/gentian28/6wdsep1v/20 Expect that sometimes, after a lot of scrolls it suddenly freezes and I have no idea what may be causing it.
– gentian
Mar 29 at 15:53
Really well done on this solution, it wasn't freezing for me at all.
– Daryll
Mar 29 at 16:24
It rarely happened to me. I was testing it again and it seems it doesn't freeze anymore. Thank you
– gentian
Mar 29 at 16:33
1
Excellent. I've compressed your findScrollDirectionOtherBrowsers a little. jsfiddle.net/etu5jc7g Perhaps you should post your solution to their forums. Best of luck to you!
– Daryll
Mar 29 at 16:52
|
show 1 more comment
I have a vertical slider and I'm using swiper to navigate through the slides.
Every swiper-slide container height is 100vh.
I have a slide which content is greater than the view height and when scrolling with the mousewheel, I want to first scroll it's content and when the end or top is reached, according to the scroll direction, move to the next or previous slide.
I went through swiper documentation, SO and other pages but didn't find a solution.
Here is the jsfiddle:
https://jsfiddle.net/gentian28/6wdsep1v/13/
HTML
<div class="swiper-container">
<main class="main swiper-wrapper">
<!-- landing -->
<section id="home" class="swiper-slide">
<div id="particles-js"></div>
<div id="typeIt" class="d-flex align-center"></div>
</section>
<!-- about -->
<section id="about" class="swiper-slide">
<span class="animation">About</span>
</section>
<!-- portfolio -->
<section id="portfolio" class="swiper-slide d-flex flex-wrap col-3">
<div class="card">
card 1
</div>
<div class="card">
card 2
</div>
<div class="card">
card 3
</div>
<div class="card">
card 4
</div>
<div class="card">
card 1
</div>
<div class="card">
card 1
</div>
<div class="card">
card 1
</div>
<div class="card">
card 1
</div>
<div class="card">
card 1
</div>
<div class="card">
card 1
</div>
<div class="card">
card 1
</div>
</section>
<!-- technologies -->
<section id="skills" class="swiper-slide">
Skills
</section>
<!-- contact -->
<section id="contact" class="swiper-slide">
Contact
</section>
</main>
</div>
CSS
body
margin: 0;
padding: 0;
.d-flex
display: flex;
.align-center
align-items: center;
.justify-center
justify-content: center;
.justify-between
justify-content: space-between;
.flex-column
flex-flow: column;
.column-reverse
flex-flow: column-reverse;
.flex-wrap
flex-wrap: wrap;
.col-2 > *
width: calc(100% / 2 - 7.5px);
margin-right: 15px;
margin-bottom: 15px;
.col-2 > *:nth-child(2n)
margin-right: 0;
.col-3 > *
width: calc(100% / 3 - 10px);
margin-right: 15px;
.col-3 > *:nth-child(3n)
margin-right: 0;
.col-4 > *
width: calc(100% / 4 - 10.5px);
margin-right: 14px;
.col-4 > *:nth-child(4n)
margin-right: 0;
.card
height: 300px;
.swiper-container
width: 100% - 120px;
height: 100vh;
margin-left: auto;
margin-right: auto;
.swiper-slide
text-align: center;
font-size: 18px;
background: #fff;
/* Center slide text vertically */
display: -webkit-box;
display: -ms-flexbox;
display: -webkit-flex;
display: flex;
-webkit-box-pack: center;
-ms-flex-pack: center;
-webkit-justify-content: center;
justify-content: center;
-webkit-box-align: center;
-ms-flex-align: center;
-webkit-align-items: center;
align-items: center;
overflow-y: auto;
.swiper-pagination
display: flex;
flex-flow: column;
.swiper-pagination-bullet-active
opacity: 0;
.swiper-pagination-bullet
width: 120px;
height: 96px;
border-radius: 0;
opacity: 0;
JS
const swiperConf =
direction: 'vertical',
slidesPerView: 1,
spaceBetween: -1,
mousewheel: true,
keyboard: true,
pagination:
el: '.swiper-pagination',
clickable: true,
var swiper = new Swiper('.swiper-container', swiperConf);
javascript html css scroll swiper
I have a vertical slider and I'm using swiper to navigate through the slides.
Every swiper-slide container height is 100vh.
I have a slide which content is greater than the view height and when scrolling with the mousewheel, I want to first scroll it's content and when the end or top is reached, according to the scroll direction, move to the next or previous slide.
I went through swiper documentation, SO and other pages but didn't find a solution.
Here is the jsfiddle:
https://jsfiddle.net/gentian28/6wdsep1v/13/
HTML
<div class="swiper-container">
<main class="main swiper-wrapper">
<!-- landing -->
<section id="home" class="swiper-slide">
<div id="particles-js"></div>
<div id="typeIt" class="d-flex align-center"></div>
</section>
<!-- about -->
<section id="about" class="swiper-slide">
<span class="animation">About</span>
</section>
<!-- portfolio -->
<section id="portfolio" class="swiper-slide d-flex flex-wrap col-3">
<div class="card">
card 1
</div>
<div class="card">
card 2
</div>
<div class="card">
card 3
</div>
<div class="card">
card 4
</div>
<div class="card">
card 1
</div>
<div class="card">
card 1
</div>
<div class="card">
card 1
</div>
<div class="card">
card 1
</div>
<div class="card">
card 1
</div>
<div class="card">
card 1
</div>
<div class="card">
card 1
</div>
</section>
<!-- technologies -->
<section id="skills" class="swiper-slide">
Skills
</section>
<!-- contact -->
<section id="contact" class="swiper-slide">
Contact
</section>
</main>
</div>
CSS
body
margin: 0;
padding: 0;
.d-flex
display: flex;
.align-center
align-items: center;
.justify-center
justify-content: center;
.justify-between
justify-content: space-between;
.flex-column
flex-flow: column;
.column-reverse
flex-flow: column-reverse;
.flex-wrap
flex-wrap: wrap;
.col-2 > *
width: calc(100% / 2 - 7.5px);
margin-right: 15px;
margin-bottom: 15px;
.col-2 > *:nth-child(2n)
margin-right: 0;
.col-3 > *
width: calc(100% / 3 - 10px);
margin-right: 15px;
.col-3 > *:nth-child(3n)
margin-right: 0;
.col-4 > *
width: calc(100% / 4 - 10.5px);
margin-right: 14px;
.col-4 > *:nth-child(4n)
margin-right: 0;
.card
height: 300px;
.swiper-container
width: 100% - 120px;
height: 100vh;
margin-left: auto;
margin-right: auto;
.swiper-slide
text-align: center;
font-size: 18px;
background: #fff;
/* Center slide text vertically */
display: -webkit-box;
display: -ms-flexbox;
display: -webkit-flex;
display: flex;
-webkit-box-pack: center;
-ms-flex-pack: center;
-webkit-justify-content: center;
justify-content: center;
-webkit-box-align: center;
-ms-flex-align: center;
-webkit-align-items: center;
align-items: center;
overflow-y: auto;
.swiper-pagination
display: flex;
flex-flow: column;
.swiper-pagination-bullet-active
opacity: 0;
.swiper-pagination-bullet
width: 120px;
height: 96px;
border-radius: 0;
opacity: 0;
JS
const swiperConf =
direction: 'vertical',
slidesPerView: 1,
spaceBetween: -1,
mousewheel: true,
keyboard: true,
pagination:
el: '.swiper-pagination',
clickable: true,
var swiper = new Swiper('.swiper-container', swiperConf);
javascript html css scroll swiper
javascript html css scroll swiper
asked Mar 28 at 21:03
gentiangentian
431 silver badge8 bronze badges
431 silver badge8 bronze badges
1
I searched hard in API and forum and could not fix your jsFiddle. It seems very possible with dragging but not with mousewheel. Research nested swipers and try to recreate a new example or see other's mousewheel solutions idangero.us/swiper/forum/#!/?mousewheel
– Daryll
Mar 28 at 22:10
1
I managed to solve it, here is the jsfiddle: jsfiddle.net/gentian28/6wdsep1v/20 Expect that sometimes, after a lot of scrolls it suddenly freezes and I have no idea what may be causing it.
– gentian
Mar 29 at 15:53
Really well done on this solution, it wasn't freezing for me at all.
– Daryll
Mar 29 at 16:24
It rarely happened to me. I was testing it again and it seems it doesn't freeze anymore. Thank you
– gentian
Mar 29 at 16:33
1
Excellent. I've compressed your findScrollDirectionOtherBrowsers a little. jsfiddle.net/etu5jc7g Perhaps you should post your solution to their forums. Best of luck to you!
– Daryll
Mar 29 at 16:52
|
show 1 more comment
1
I searched hard in API and forum and could not fix your jsFiddle. It seems very possible with dragging but not with mousewheel. Research nested swipers and try to recreate a new example or see other's mousewheel solutions idangero.us/swiper/forum/#!/?mousewheel
– Daryll
Mar 28 at 22:10
1
I managed to solve it, here is the jsfiddle: jsfiddle.net/gentian28/6wdsep1v/20 Expect that sometimes, after a lot of scrolls it suddenly freezes and I have no idea what may be causing it.
– gentian
Mar 29 at 15:53
Really well done on this solution, it wasn't freezing for me at all.
– Daryll
Mar 29 at 16:24
It rarely happened to me. I was testing it again and it seems it doesn't freeze anymore. Thank you
– gentian
Mar 29 at 16:33
1
Excellent. I've compressed your findScrollDirectionOtherBrowsers a little. jsfiddle.net/etu5jc7g Perhaps you should post your solution to their forums. Best of luck to you!
– Daryll
Mar 29 at 16:52
1
1
I searched hard in API and forum and could not fix your jsFiddle. It seems very possible with dragging but not with mousewheel. Research nested swipers and try to recreate a new example or see other's mousewheel solutions idangero.us/swiper/forum/#!/?mousewheel
– Daryll
Mar 28 at 22:10
I searched hard in API and forum and could not fix your jsFiddle. It seems very possible with dragging but not with mousewheel. Research nested swipers and try to recreate a new example or see other's mousewheel solutions idangero.us/swiper/forum/#!/?mousewheel
– Daryll
Mar 28 at 22:10
1
1
I managed to solve it, here is the jsfiddle: jsfiddle.net/gentian28/6wdsep1v/20 Expect that sometimes, after a lot of scrolls it suddenly freezes and I have no idea what may be causing it.
– gentian
Mar 29 at 15:53
I managed to solve it, here is the jsfiddle: jsfiddle.net/gentian28/6wdsep1v/20 Expect that sometimes, after a lot of scrolls it suddenly freezes and I have no idea what may be causing it.
– gentian
Mar 29 at 15:53
Really well done on this solution, it wasn't freezing for me at all.
– Daryll
Mar 29 at 16:24
Really well done on this solution, it wasn't freezing for me at all.
– Daryll
Mar 29 at 16:24
It rarely happened to me. I was testing it again and it seems it doesn't freeze anymore. Thank you
– gentian
Mar 29 at 16:33
It rarely happened to me. I was testing it again and it seems it doesn't freeze anymore. Thank you
– gentian
Mar 29 at 16:33
1
1
Excellent. I've compressed your findScrollDirectionOtherBrowsers a little. jsfiddle.net/etu5jc7g Perhaps you should post your solution to their forums. Best of luck to you!
– Daryll
Mar 29 at 16:52
Excellent. I've compressed your findScrollDirectionOtherBrowsers a little. jsfiddle.net/etu5jc7g Perhaps you should post your solution to their forums. Best of luck to you!
– Daryll
Mar 29 at 16:52
|
show 1 more comment
0
active
oldest
votes
Your Answer
StackExchange.ifUsing("editor", function ()
StackExchange.using("externalEditor", function ()
StackExchange.using("snippets", function ()
StackExchange.snippets.init();
);
);
, "code-snippets");
StackExchange.ready(function()
var channelOptions =
tags: "".split(" "),
id: "1"
;
initTagRenderer("".split(" "), "".split(" "), channelOptions);
StackExchange.using("externalEditor", function()
// Have to fire editor after snippets, if snippets enabled
if (StackExchange.settings.snippets.snippetsEnabled)
StackExchange.using("snippets", function()
createEditor();
);
else
createEditor();
);
function createEditor()
StackExchange.prepareEditor(
heartbeatType: 'answer',
autoActivateHeartbeat: false,
convertImagesToLinks: true,
noModals: true,
showLowRepImageUploadWarning: true,
reputationToPostImages: 10,
bindNavPrevention: true,
postfix: "",
imageUploader:
brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/4.0/"u003ecc by-sa 4.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
allowUrls: true
,
onDemand: true,
discardSelector: ".discard-answer"
,immediatelyShowMarkdownHelp:true
);
);
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
StackExchange.ready(
function ()
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fstackoverflow.com%2fquestions%2f55406810%2fnested-scroll-inside-vertical-swiper-slide-when-mousewheel-true%23new-answer', 'question_page');
);
Post as a guest
Required, but never shown
0
active
oldest
votes
0
active
oldest
votes
active
oldest
votes
active
oldest
votes
Thanks for contributing an answer to Stack Overflow!
- Please be sure to answer the question. Provide details and share your research!
But avoid …
- Asking for help, clarification, or responding to other answers.
- Making statements based on opinion; back them up with references or personal experience.
To learn more, see our tips on writing great answers.
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
StackExchange.ready(
function ()
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fstackoverflow.com%2fquestions%2f55406810%2fnested-scroll-inside-vertical-swiper-slide-when-mousewheel-true%23new-answer', 'question_page');
);
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
1
I searched hard in API and forum and could not fix your jsFiddle. It seems very possible with dragging but not with mousewheel. Research nested swipers and try to recreate a new example or see other's mousewheel solutions idangero.us/swiper/forum/#!/?mousewheel
– Daryll
Mar 28 at 22:10
1
I managed to solve it, here is the jsfiddle: jsfiddle.net/gentian28/6wdsep1v/20 Expect that sometimes, after a lot of scrolls it suddenly freezes and I have no idea what may be causing it.
– gentian
Mar 29 at 15:53
Really well done on this solution, it wasn't freezing for me at all.
– Daryll
Mar 29 at 16:24
It rarely happened to me. I was testing it again and it seems it doesn't freeze anymore. Thank you
– gentian
Mar 29 at 16:33
1
Excellent. I've compressed your findScrollDirectionOtherBrowsers a little. jsfiddle.net/etu5jc7g Perhaps you should post your solution to their forums. Best of luck to you!
– Daryll
Mar 29 at 16:52