Bug Found - sliderInstance.removeSlide function

herdiana's Avatar

herdiana

12 Oct, 2012 02:51 PM

Hi,

One of the features I like about RoyalSlider is the ability to add and remove slides dynamically on the fly.

However I found a bug - when I call removeSlide function when the last slide is being displayed (rsNavSelected is at the last slide), the slider stops / hangs.

Please open attachment to replicate the issue. Click 'Remove' button when the rsNavSelceted is at the last slide.

Do you know what causes it?

Thank you for your help.

Kind regards,
Herdi

  1. herdiana closed this discussion on 12 Oct, 2012 02:51 PM.

  2. herdiana re-opened this discussion on 12 Oct, 2012 07:30 PM

  3. 1 Posted by herdiana on 12 Oct, 2012 07:30 PM

    herdiana's Avatar

    sorry - accidentally closed the issue. the issue remains. thanks.

  4. 2 Posted by herdiana on 12 Oct, 2012 07:49 PM

    herdiana's Avatar

    Please use enclosed files to replicate issue. It seems the sliders stops when removeSlide() is called when rsNavSelected is at the last slide.

    Please help.

    Thank you.

  5. Support Staff 3 Posted by Dmitry Semenov on 13 Oct, 2012 07:33 AM

    Dmitry Semenov's Avatar

    Fixed this too, thanks again for bug reporting, you can get fixed version from build tool. And sorry that I haven't tested this dynamic slides adding with fade transition enough.

    Dmitry

  6. 4 Posted by herdiana on 13 Oct, 2012 02:48 PM

    herdiana's Avatar

    Thanks. The updated version is 9.2.4, correct? I can still replicate the issue with that version.

  7. Support Staff 5 Posted by Dmitry Semenov on 13 Oct, 2012 07:24 PM

    Dmitry Semenov's Avatar

    Yes, 9.2.4 is correct. If you don't want to stop autoplay on add/remove slide, you need to set stopAtAction autoplay option to false - http://dimsemenov.com/plugins/royal-slider/documentation/#autoplay

    Dmitry

  8. 6 Posted by herdiana on 16 Oct, 2012 12:49 PM

    herdiana's Avatar

    Thanks.

  9. herdiana closed this discussion on 16 Oct, 2012 12:49 PM.

Comments are currently closed for this discussion. You can start a new one.

Keyboard shortcuts

Generic

? Show this help
ESC Blurs the current field

Comment Form

r Focus the comment reply box
^ + ↩ Submit the comment

You can use Command ⌘ instead of Control ^ on Mac