React-slick: [Question] How to add touch-enabled lightbox features to react-slick?

Created on 27 Oct 2017  路  2Comments  路  Source: akiran/react-slick

Great component! Thanks so much.

I've recently moved to React after building static sites where jQuery plugins provided most functionality. To create an image slider + lightbox, I used to combine slick.js with halkaBox.js pretty easily.

Now that I'm using React, what is the right way to combine react-slick with touch-enabled lightbox functionality? Is there another component that pairs well with react-slick (or a better way to add lightbox functionality)? Should I try to incorporate halkaBox.js with react-slick?

I'm just a bit unsure of the proper React way to add lightbox functionality to react-slick, so any guidance would be appreciated!

Most helpful comment

In case anyone has the same question in the future, refer to this Stack Overflow question for a working solution.

All 2 comments

In case anyone has the same question in the future, refer to this Stack Overflow question for a working solution.

In case anyone has the same question in the future, refer to this Stack Overflow question for a working solution.

Hi @ooloth, your solution only allow to open the image, but do you find the possibility to navigate through the images also from lightbox ? Thank you for your help.

Was this page helpful?
0 / 5 - 0 ratings

Related issues

PolGuixe picture PolGuixe  路  3Comments

jfamousket picture jfamousket  路  3Comments

eternalsky picture eternalsky  路  3Comments

Exomnius picture Exomnius  路  3Comments

rohitgoyal7 picture rohitgoyal7  路  3Comments