Breakpoints apply to all sliders, not just the one specified
See original GitHub issuethe breakpoint rules are applied to all sliders on the page, not just the one it’s a part of. e.g. glide1 should show 3 on desktop and 1 on mobile whilst glide2 should show 6 on desktop and 2 on mobile. However, on mobile they both show 2.
new Glide('#glide1', {
type: 'carousel',
perView: 3,
breakpoints: {
800: {
perView: 1
}
}
}).mount();
new Glide('#glide2', {
type: 'carousel',
perView: 6,
breakpoints: {
800: {
perView: 2
}
}
}).mount();
PS - I’m using Glide 3.0
Issue Analytics
- State:
- Created 5 years ago
- Comments:14 (4 by maintainers)
Top Results From Across the Web
Breakpoint-specific options lost if same as defaults - Drupal
Options made on a per-breakpoint basis can be lost if they are different from the main settings but the same as defaults.
Read more >Breakpoints - Smart Slider Documentation - Help Scout
Breakpoints are the pixel values where Smart Slider changes to show a different layout. For example, you can use breakpoints to make the ......
Read more >the breakpoints in slider splide js do not work - Stack Overflow
I'm trying to assign specific options depending on the installed slides count, getting it like this - custom_slider.length . It's all good, it ......
Read more >Style across breakpoints | Webflow University
Setting styles on one breakpoint, like Desktop, can affect values on other breakpoints. These style values cascade down through different breakpoints ...
Read more >How to apply view specific properties in responsive projects
For example, you can create objects A, B, and C in Primary breakpoint view. But, you would not want to use B in...
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Should be fixed with
v3.0.2
release@mattisherwood Thanks for detailed bug reports 👍. Addressed this issues with
v3.0.3
release.Minified file for
v3.0.3
should be working now. The configuration of the uglify in lib build script was striping too much and breaking.I’ve swapped
Array.from
toArray.prototype.slice.call
so, now, glidejs should be compatible with IE11. Please, let me know if you test it out 😃PS. I’m closing this issue for now. If you find any other problems feel free to open new topic 😃