Closed myconcretelab closed 8 years ago
Thanks for this request! Currently, no it's not in the plans. If others would like to see this feature, please +1 this ticket.
Adding adaptive height can be done with a bit of code. I'll follow up once I'm able to produce an example.
Thanks you for this feedback. If you like stickers, please email me yo@metafizzy so I can send some your way.
Thanks, i has searching for event but not directly find it.
+1 either for building-in the feature, or just callback/events API and classes so we react on changes and reference properties of prev/current/next slides
But it's only logical to do this if the slide width is 100%, otherwise you can still see other content on the slides which is either shorter or higher
The slider would take the height of the highest item in the viewport as reference.
If by adaptive height, you mean auto-height, +1. Would like to see this feature similar to slick/flexslider.
+1, would be neat to have.
+1, it would be nice to no specify height for slider items
+1 really an extremely useful feature
+1 really need this when creating sliders that have dynamic height, such as sliders where the content doesn't consist of images. Take the height of the highest element of the slides and apply to the container.
Does anyone know how to to this before the feature is release, if it will be released? I'm struggling with this problem atm.
@jonathanolsen
Take the height of the highest element of the slides and apply to the container.
Flickity already supports this: http://codepen.io/desandro/pen/ZYvemV
+1 for auto height. I am using flickity for a project right now that needs this feature, and not having this option built in is a real bummer.
+1 for this.
+1
Sliders are used for more than just image galleries -- I've even used them for a tabbed interface.
Another +1
+1! Would be amazing
+1 🍕
+1 ... in need of this feature.
+1
+1!
+1
+1
+1
+1
flickity is my slider of choice, so +1 as well!
+1 !!
+1
+1
+1 for me as well
+1 Would love this
+1
+1 pretty please
+1
+1
+1
+1, Flickity is my de-facto carousel plugin, except when adaptive height is a requirement. Would be awesome to see this feature added.
+1
+1
+1
+1
+100 (best slider out there)
+1
+1!
+1 I was a bxSlider user until iI came across Flickity. The API, touch events, physic animations, the "asNavFor", the overall performance... there is no competition here: flickity is better. However, I am missing bxSlider's "adaptiveHeight" feature. For a recent project, I had to use bxSlider instead of flickity because of this. I would definitively LOVE flickity to add this feature.
+1!
+1
Super easy:
slider.on( 'cellSelect', function() { var selectedHeight = slider.find('.is-selected').height(); slider.find('.flickity-viewport').height(selectedHeight); });
your code doesnt worked for me, but you gave me an idea, so i ve done it my way.
$slider.on( 'cellSelect', function() {
$newTab = $(this).find('.is-selected');
$slider.find('.flickity-viewport').height($newTab.height());
});
and if you want the animation:
// $slider.find('.flickity-viewport').height($newTab.height());
$slider.find('.flickity-viewport').delay(111).animate({height: $newTab.height()} );
but does somebody knows why animation sometimes in chrome slowdown? In firefox it works well.
+1
Is it planned to have a adaptive height or we just build it with event?
Thank you for this great slider that is really sweeter than others