Skip to content

"arrows: false" not affecting custom arrows on page load #654

@Webberjo

Description

@Webberjo

Checks

Version

v3.6.12

Description

When using custom arrow HTML, arrows: false does not hide the arrows on page load.

Reproduction Link

https://jsfiddle.net/4hexns0u/2/

Steps to Reproduce

  1. Bug already reproduced in fiddle

Expected Behaviour

The splide arrows should be hidden on page load.

A workaround is to emit the updated event on the slider after it is mounted.
main.emit('updated');

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions