Skip to content

Slider items disappear if resize screen on Chrome #73

@konradbolek

Description

@konradbolek

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

  1. Go to next slides
  2. 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

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions