magento2-alpaca-components icon indicating copy to clipboard operation
magento2-alpaca-components copied to clipboard

Slider - add disabled class for arrow

Open Januszpl opened this issue 7 years ago • 3 comments

I think we should add logic to script to add --disabled mod for arrow in cases where:

Slides: 4 On mobile: show 2 per page On desktop: show 4 (no need to show arrow then)

Or maybe even --all-slides-in-view (when on specific screen size we see all sliders and we can hide it) and --no-more-slides for situation when we see 2 slides per page and we slide to the end (than we can set specific styles to make it look like disabled arrow).

Of course we can add it always per usage but I think it should be in slider module.

Januszpl avatar Nov 21 '17 14:11 Januszpl

dev-36691 created

Januszpl avatar Nov 30 '17 18:11 Januszpl

@Igloczek I think we should create for of lory (if we would like to use as our base... or find alternative/write our own?). This one is limited imho and have a quite few PR that await for merging.

Januszpl avatar Nov 30 '17 20:11 Januszpl

Filip was looking for alternatives in https://github.com/SnowdogApps/magento2-alpaca-components/issues/143, but most of them were heavy as f, unmaintained or same as this one without any "cool" features.

Igloczek avatar Dec 19 '17 14:12 Igloczek