@onsenui said in How to ask a question.:
You can include any other resources that you consider important to understand your question. For example you can add links to external pages or embed images in the post (drag and drop the images to the composer).
interesting great information :)
It works in codepen but here’s the link: https://codepen.io/conan_g/pen/WNQYKrb
In the cap you should see that it is the exact same code. I’ve scrolled just a bit in the emulator so you can see that it’s the viewport height before you see the text below. I’ve also tried in Chrome using the inspector and got the same results.
The onsen links are the from the library which I just grabbed last week and I’ve not altered anything there. I also tried with the CDN and got the same results.
Thanks, I wasn’t sure if there was an easier way but this makes sense.
I can play with a bundler for a more elegant solution later but per the example I just made a /lib folder and dropped everything in there.
Actually I think I figured this out myself, basically it isn’t designed to do this. The carousel element is a “swiper” , which apparently means it only swipes. The animation attribute doesn’t seem to care about fade/lift/etc. just “none” to turn it off. If it’s on, it swipes using the translate3d() function
You can however still control the manner of swiping via the animation-options