Skip to content
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

Each slide appears diagonally below the one before it #133

Closed
robbyjm opened this issue Apr 11, 2020 · 5 comments
Closed

Each slide appears diagonally below the one before it #133

robbyjm opened this issue Apr 11, 2020 · 5 comments

Comments

@robbyjm
Copy link

robbyjm commented Apr 11, 2020

Each one of my slides is a collection of div's however each time I swipe the next slide appears below the last one instead of in the same place. I made a video demonstrating the problem as I thought it might be easier to understand what I am trying to fix https://streamable.com/cih6g2

@loup-brun
Copy link
Collaborator

Did you include the mandatory CSS? The styles do not appear in your demo.

@loup-brun
Copy link
Collaborator

Have a look at the README, style section.

@robbyjm
Copy link
Author

robbyjm commented Apr 11, 2020

Hi @loup-brun yes I did include the mandatory css however your comment has me thinking this is a problem with the build tool I am using (parcel) and not swipe.js I will investigate and update this issue once I investigate further

@loup-brun
Copy link
Collaborator

When you select the swipe divs in your dev tools, the styles do not appear.
Your problem looks a lot like you are missing the base styles.

@robbyjm
Copy link
Author

robbyjm commented Apr 11, 2020

yeah, im going to close this because it's definitely not a bug with swipe. I just made another project and I have it working fine. Thanks for your help @loup-brun

@robbyjm robbyjm closed this as completed Apr 11, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants