Describe the bug
When we go to last items in carousel, and then resize a screen all data from first single items in carousel disappears.
Problem is only when we have responsive=true in component.
Reproduction
https://codepen.io/konradbolek/pen/mdpvbGR
- Go to next slides
- Resize screen
System Info
System:
OS: Linux 5.4 Linux Mint 20.3 (Una)
CPU: (6) x64 Intel(R) Core(TM) i5-9400F CPU @ 2.90GHz
Memory: 1.91 GB / 15.57 GB
Container: Yes
Shell: 5.0.17 - /bin/bash
Binaries:
Node: 14.4.0 - ~/.nvm/versions/node/v14.4.0/bin/node
Yarn: 1.22.17 - /usr/local/bin/yarn
npm: 6.14.5 - ~/.nvm/versions/node/v14.4.0/bin/npm
Browsers:
Chrome: 98.0.4758.80
Firefox: 96.0.3
npmPackages:
"@trendyol-js/react-carousel": "^2.0.0"
Used Package Manager
yarn
Logs
No response
Validations
Describe the bug
When we go to last items in carousel, and then resize a screen all data from first single items in carousel disappears.
Problem is only when we have responsive=true in component.
Reproduction
https://codepen.io/konradbolek/pen/mdpvbGR
System Info
System: OS: Linux 5.4 Linux Mint 20.3 (Una) CPU: (6) x64 Intel(R) Core(TM) i5-9400F CPU @ 2.90GHz Memory: 1.91 GB / 15.57 GB Container: Yes Shell: 5.0.17 - /bin/bash Binaries: Node: 14.4.0 - ~/.nvm/versions/node/v14.4.0/bin/node Yarn: 1.22.17 - /usr/local/bin/yarn npm: 6.14.5 - ~/.nvm/versions/node/v14.4.0/bin/npm Browsers: Chrome: 98.0.4758.80 Firefox: 96.0.3 npmPackages: "@trendyol-js/react-carousel": "^2.0.0"Used Package Manager
yarn
Logs
No response
Validations