Skip to content

Hidden slides shouldn't affect slider width#94

Open
norin89 wants to merge 2 commits into
sachinchoolur:masterfrom
norin89:master
Open

Hidden slides shouldn't affect slider width#94
norin89 wants to merge 2 commits into
sachinchoolur:masterfrom
norin89:master

Conversation

@norin89

@norin89 norin89 commented Feb 10, 2015

Copy link
Copy Markdown

Hi, I really appreciate your work. I'm using your plugin in my latest project but I found some issue during development. I've created a filter that shows and hides certain slides so I can show only some of them. But if I set display: none; to any of slide it's width still affects whole slider width. There can be other reasons someone wants to keep hidden slides so I've made subtle changes to force lightslider to work only with visible slides. Please take a look :)

P.S. I did quick test to check if it still works well in slide mode and it seems it does!

Regards,
Marcin

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant