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

How to disable (not use) section transitions (fade, cover and slide) #275

Open
jositako opened this issue Sep 16, 2013 · 3 comments
Open

Comments

@jositako
Copy link

Lungo 2.2.1 / Qou 2.3.6 / Phone (resolution < 768)

I would like to disable (not use) the transition from section to section. I've used ...

or

... in each section declaration, but both cause the transition to stop altogether on resolutions below 768 AFTER one click (with a section to section link). All navigation fails after this one click (in a simple two page one section to section app).

In Lungo 1.x it worked fine using data-transition="none".

How to best achieve the same result in Lungo 2.2.1 (Quo 2.3.6)?

Thank you.

@vtellez
Copy link

vtellez commented Jul 7, 2014

I have the same issue. Does anybody know how to achieve it?

@maciekmp
Copy link

I found workaround but this is not elegant solution. I have only few articles where I do not want transtiontions. I put them into one section and I am just switching between them.

Issue should be repair asap if anybody cares about this project.

@vtellez
Copy link

vtellez commented Apr 10, 2015

Another user gave me this css update for lungo and it works perfect for me:

add to lungo.css

body[data-device="phone"] > section[data-transition="no"][data-direction="in"]{-webkit-animation-name:noIn;-moz-animation-name:noIn;-ms-animation-name:noIn;-o-animation-name:noIn;animation-name:noIn}
body[data-device="phone"] > section[data-transition="no"][data-direction="out"]{-webkit-animation-name:noOut;-moz-animation-name:noOut;-ms-animation-name:noOut;-o-animation-name:noOut;animation-name:noOut}
body[data-device="phone"] > section[data-transition="no"][data-direction="back-in"]{-webkit-animation-name:noIn;-moz-animation-name:noIn;-ms-animation-name:noIn;-o-animation-name:noIn;animation-name:noIn}
body[data-device="phone"] > section[data-transition="no"][data-direction="back-out"]{-webkit-animation-name:noOut;-moz-animation-name:noOut;-ms-animation-name:noOut;-o-animation-name:noOut;animation-name:noOut}

Then you can use data-transition="no" in your sections

Good luck!

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

3 participants