guidobouman/panelsnap

Is not loading element inside body

Closed this issue · 2 comments

Hi,

I added the plugin to my site with a container of fixed height and overflow scroll; and binding it with $('.homeSlider').panelSnap({ strictContainerSelection: false });

I am missing something to make it work?

Thanks,

Alberto

Well, if you read the documentation, your selection is not set up properly. This should fix your implementation:

$('.homeSlider').panelSnap({ panelSelector: '> li' });

It worked, thanks!