Code Monkey home page Code Monkey logo

Comments (6)

think2011 avatar think2011 commented on July 28, 2024

yes : (

from angular-slick.

kevinboosten avatar kevinboosten commented on July 28, 2024

Same problem over here. I guess it's related to issue #8
Reloading the slick data is causing the sliders to be vertically positioned.

from angular-slick.

therajumandapati avatar therajumandapati commented on July 28, 2024

This is a solution. xamelion@f1b74f6

from angular-slick.

vizog avatar vizog commented on July 28, 2024

Can some one tell me how to use this fork please? is it applied to one of the releases? I'm still unable to use this with angularjs 1.4

from angular-slick.

justinthomasonline avatar justinthomasonline commented on July 28, 2024

setTimeout(() => { //you slick-carousel init code }, 1000); use this time out function

for instance

 setTimeout(() => { 

// Partner
$(".class_name").slick({
dots: false,
arrow: false,
autoplay: true,
infinite: true,
slidesToShow: 4,
slidesToScroll: 1,

responsive: [
    {
        breakpoint: 1024,
        settings: {
            slidesToShow: 3,
            slidesToScroll: 1,
            infinite: true,
            dots: true
        }
    },
    {
        breakpoint: 600,
        settings: {
            slidesToShow: 2,
            slidesToScroll: 1
        }
    },
    {
        breakpoint: 480,
        settings: {
            slidesToShow: 1,
            slidesToScroll: 1
        }
    }
]

});

       }, 500);

After a lot of search and experiment , the particular solution worked for me

from angular-slick.

justinthomasonline avatar justinthomasonline commented on July 28, 2024

On deep searching i identified the problem. In angular the component once loaded , it will not reload even though we navigate to that. So normally we only initiate slick function once, that not get initialized every component load. So you will have to reload by any event like click etc

from angular-slick.

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.