akiran / akiran/react-slick

Using Node Refs as Slider children gets mixed

オープン
#1,974 コメント 0 件 リアクション 0 件 担当者 0 名 GitHub で見る
主要言語
JavaScript
スター
11.9k
フォーク
2.1k
PR マージ指標
30日以内にマージされた PR はありません

説明

in this example adding a children dynamically at the start of the items somehow change the useRef used in the children.

You can see it clearly here:

![image](https://user-images.githubusercontent.com/68874928/105915475-c916a080-5ffd-11eb-8a10-e487bd0a0879.png)

Sandbox: https://codesandbox.io/s/weathered-waterfall-f5gdb?file=/src/App.js

コントリビューションガイド

コントリビューションガイドを開く

評価

この issue はまだ評価されていません。

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。