Skip to content

Adding wrapper to template breaks functionality #655

Open
@graphical-iain

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

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