react-slick is not working correctly in RTL language

Author: xiaojhua-workCreated Aug 19, 2020Updated Dec 9, 2025

This issue still repros in the latest version v0.27.9. The web page language is the Hebrew language which is RTL language. Repro steps: There are 5 slide pages in this slider using react-slick. If you open the web page contains this slider in the Chrome browser, press F12 to open the developer window, select the 'Toggle device toolbar' to switch to the mobile layout. See this gif below: ReproRTLissue_github

There are two issues shown in this gif:

  1. The switch sequence is not correct. It should switch from 'folder1' to 'folder5'.
  2. During the transition from one slide to another slide, it will try to load two slides and end up with one slide.

Please let me know if I there is any question, thanks!