angular-flexslider
angular-flexslider copied to clipboard
Splicing slides intermittently creates blank slides
I am testing this with an array of 10 slides and while adding slides and shifting works fine, when I try to splice by index, I start getting blank slides after a few splices.
I am having a similar issue, although it only happens when it's the last item left in an array.
Could you prepare a plunkr (maybe starting from this one) to reproduce the issue?
I think this illustrates this issue when adding slides. Not sure if it does the same for removing slides: http://plnkr.co/edit/snzP7sgG7ymXOqYD0JkX?p=preview
This one seems to fix the issue with my updated fork: http://plnkr.co/edit/ZvPns7JnJ4zHMCRfjqoI?p=preview (clicking add slides doesn't do a total refresh and only show 4 slides)
@wilsonwc could you file a PR with the fix?