-
Notifications
You must be signed in to change notification settings - Fork 57
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
using widthOfSiblingSlidePreview property not work properly #24
Comments
someone checked it ? |
@voronianski I'm having the same issue. the widthOfSiblingSlidePreview config option does not work as advertised. I'll open a PR if I can come up with the solution. |
@Cyberlane I noticed you created the original PR maybe you have some advice for us. |
I have the same issue,. Has someone solved? |
I created the original functionality for the Ultimately I wrote something new from scratch for what I originally needed. I can take a look and see if there's a quick fix for this specific problem. |
@adambatso could you please provide an example of how to achieve your problem? Currently I am trying this, and it works: <div id="mySwipe" style="max-width:500px;margin:0 auto" class="swipe">
<div class="swipe-wrap">
<div><img src="https://placeimg.com/640/480/any?1" /></div>
<div><img src="https://placeimg.com/640/480/any?2" /></div>
<div><img src="https://placeimg.com/640/480/any?3" /></div>
</div>
</div> var elem = document.getElementById('mySwipe');
window.mySwipe = Swipe(elem, {
widthOfSiblingSlidePreview: '50px',
continuous: false,
}); I am however aware that if you remove |
I'm facing the same issue. Has anyone found the solution? |
@gauravAtProptiger see my previous comment. Is that the same problem you face? If not, could you please provide an reproducible example of the issue, and I would be happy to look into it for you. :) |
@Cyberlane Yes, I am facing the same issue.
|
@gauravAtProptiger I am working on a fix, if I pushed it to another branch, would you be willing to test it? There are a number of things I would ultimately like to change in the code for this library, but since I am not the owner, I will just do some small patches for now. |
I have created a PR which should solve this issue here => #33 If somebody is willing to test it to confirm, I would be happy to merge it into master. |
version 2.15.0

Hi i have an issue when i using widthOfSiblingSlidePreview, the expect behaviour is that i will see the next slide (element) but instead of it i see the last slide.
i attached image of the issue
The arrow in the image is point to the last image in the container the issue is that all image get the same translate3d x parameter...
The text was updated successfully, but these errors were encountered: