Skip to content
This repository was archived by the owner on Nov 18, 2024. It is now read-only.

Slide disappears/height problem with bootstrap/hide (possible fix included) #566

@foxx

Description

@foxx

When using hidden-* in bootstrap to show/hide an element containing a slideshow, the slide does not re-appear again.

This is due to;

      height = (this.options.height / this.options.width) * width;
      this.options.height = height;

The only fix I could find so far was to add;

      height = (this.options.height / this.options.width) * width;

      if (!height) {
        return;
      }

Please let me know if this approach is accepted, if so I will send a PR.

Thanks

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions