Code Monkey home page Code Monkey logo

Comments (3)

KevinBatdorf avatar KevinBatdorf commented on August 15, 2024

Is this only on iOS? Can you post the settings you are using and the (shortened) markup too?

from liquidslider.

convergence1 avatar convergence1 commented on August 15, 2024

Sorry, i meant ist set to left. But same Problem. The javascript code is the following:
$(function(){
$('#slider-id').liquidSlider({
autoHeight:false,
dynamicTabs:false,
dynamicArrows:true,
autoSlide:true,
autoSliderDirection: 'left'
});
});

It also happens in Safari on a Mac. The slider jumps (slides right) to a panel and then starts to slide in the correct direction.

from liquidslider.

KevinBatdorf avatar KevinBatdorf commented on August 15, 2024

Ah, it's not a bug. Not really. The problem is that on mobile devices, the continuous slide feature is not very smooth on iPhone and some older Android phones, so I set it to disable whenever the slider is on mobile. Well, it is actually disabled when using CSS transitions (as opposed to jQuery animations).

The slider picks CSS transitions based on two criteria. 1) are CSS transitions supported? and 2) is the width of the slider less than 1030px?

Therefore, the slider will go for CSS transitions on phones and use jQuery on desktops, etc. But since (I'm assuming) your Safari browser was less than 1030px wide, it also disabled the continuous slide.

I'll find some time to revisit the continuous sliding feature, but I don't have access to enough devices to test it on at the moment.

Fyi, there's a setting for the max width too:

useCSSMaxWidth: 1030

from liquidslider.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    πŸ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. πŸ“ŠπŸ“ˆπŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❀️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.