"responsive" settings not working correctly inside an iframe
Open
- Dominant language
- JavaScript
- Stars
- 11.9k
- Forks
- 2.1k
- PR merge metrics
- No merged PRs in 30d
Description
Hi,
there seems to be a problem if you use the react slider inside an iframe (and the iframe does not use the whole width). The iframe uses only 50% of the total available width (as an example). If you have defined breakpoints in the settings, these values are calculated against the whole width of the browser window (because media querys are used) and not just against the width of the iframe.
The original slick slider has an additional setting "respondTo" which seems to help in this kind of situation.
Contributor guide
Assessment
This issue has not been assessed yet.