Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Closed
2 tasks done
Webberjo opened this issue Feb 10, 2022 · 1 comment
Closed
2 tasks done

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

Webberjo opened this issue Feb 10, 2022 · 1 comment
Labels
bug Something isn't working

Comments

@Webberjo
Copy link

Webberjo commented Feb 10, 2022

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');

@Webberjo Webberjo added the bug Something isn't working label Feb 10, 2022
@Webberjo Webberjo changed the title "arrows: false" not affecting custom arrow HTML on page load "arrows: false" not affecting custom arrows on page load Feb 11, 2022
@NaotoshiFujita
Copy link
Collaborator

Fixed in v4.0.0

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants