Socket
Book a DemoInstallSign in
Socket

@helkyle/react-slick

Package Overview
Dependencies
Maintainers
1
Versions
2
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@helkyle/react-slick

React port of slick carousel

0.23.2
latest
Source
npmnpm
Version published
Weekly downloads
0
-100%
Maintainers
1
Weekly downloads
 
Created
Source

react-slick

There are so many of issue opened in the original repo and the prs was too slow to merge, that I finally decide to maintain one by myself. Feel free to make a pr.Happy coding :tada::tada::tada:

Documentation

Installation

npm

npm install @helkyle/react-slick

yarn

yarn add @helkyle/react-slick

Example

import React from "react";
import Slider from "@helkyle/react-slick";

class SimpleSlider extends React.Component {
  render() {
    var settings = {
      dots: true,
      infinite: true,
      speed: 500,
      slidesToShow: 1,
      slidesToScroll: 1
    };
    return (
      <Slider {...settings}>
        <div>
          <h3>1</h3>
        </div>
        <div>
          <h3>2</h3>
        </div>
        <div>
          <h3>3</h3>
        </div>
      </Slider>
    );
  }
}

Bug Fixed (May Be Not)

  • Remove unnecessary div in single mode.
  • Explicitly not-passive to fix iOS 11.3.0 scroll issue.
  • Stop autoplay when swipe start and replay when swipe end.
  • Preserving custom style on slider.
  • Reset clickable to true afterChange.
  • Clone slides for infinite mode only needed.

Keywords

slick

FAQs

Package last updated on 11 Jul 2018

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

About

Packages

Stay in touch

Get open source security insights delivered straight into your inbox.

  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc

U.S. Patent No. 12,346,443 & 12,314,394. Other pending.