Skip to content

Adding wrapper to template breaks functionality #655

Description

@graphical-iain

Steps to reproduce

  1. Wrap contents of rzslider with a div

Demo: fiddle doesn't allow for additional files, so I can't demo with a custom template.

Expected behaviour

A wrapper should do nothing to functionality.

Actual behaviour

A wrapper in the template should be benign. The JS should not be reliant on the structure, but on class names or variables.

With simple div wrapper inside rz-slider:
image

No wrapper:
image

Static design of what I am trying to achieve:
image

Edit: Updated wrapper screenshot to look better

Activity

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

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions