touchReleaseOnEdges not work
See original GitHub issueThis is a (multiple allowed): [x] bug
Swiper Version: 3.4.1 Platform/Target and Browser Versions: ios safari newest version.
touchReleaseOnEdges not work
i think this code in ‘swiper.js’ cause the problem:
if (!s.isHorizontal()) {
// Vertical
if (
(s.touches.currentY < s.touches.startY && s.translate <= s.maxTranslate()) ||
(s.touches.currentY > s.touches.startY && s.translate >= s.minTranslate())
) {
return;
}
}
i think this code (s.touches.currentY < s.touches.startY && s.translate <= s.maxTranslate())
should be (s.touches.currentY < s.touches.startY && s.translate >= s.maxTranslate())
Issue Analytics
- State:
- Created 7 years ago
- Reactions:1
- Comments:5 (1 by maintainers)
Top Results From Across the Web
touchReleaseOnEdges isn't working on iOS devices #2359
Hello, I'm using Swiper for a project. Everything is good except touchReleaseOnEdges parameter. When a user reach end of slider, swiper must ...
Read more >Developers - touchReleaseOnEdges not work - - Bountysource
Platform/Target and Browser Versions: ios safari newest version. touchReleaseOnEdges not work. i think this code in 'swiper.js' cause the problem: if (!s.
Read more >Release on Edges Scroll is not smooth - Stack Overflow
1 -> Main problem happened when i was working with version 5.3.1, when reaching the first or last slide, it scrolled too suddently,...
Read more >Swiper API
Swiper is the most modern free mobile touch slider with hardware accelerated transitions and amazing native behavior.
Read more >www.centrodememoriahistorica.gov.co/micrositios/ga...
... 2017 * Fixed issue with not working correctly `touchReleaseOnEdges` on iOS * Fixed issue with not working allowSlideNext/Prev change on Breakpoints ...
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
I have the same problem on safari and on ios device / simulator. (In Chrome it works)
This thread has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs.