Skip to content

noUiSlider (10.1.0): Slider was already initialized. #169

Open
@tDuy

Description

@tDuy

Are you requesting a feature, reporting a bug or asking a question?

Question

What is the current behavior?

I use panel index to scroll to a specific panel in my questionnaire.
I also create a custom noUiSlider widget.
In 1.5.11 and later versions, I get this error:
Uncaught Error: noUiSlider (10.1.0): Slider was already initialized.
But this error does not happen in 1.5.10 and below.
I tried to destroy the previous noUiSlider element but it still did not work.
Could you take a look at my code?
Thanks.

Provide the test code and the tested page URL (if applicable)

Test code URL:
https://embed.plnkr.co/plunk/04Ni454pVilIqoTy

Specify your

  • browser: Chrome
  • browser version: 80.0.3987.132
  • surveyjs platform: React
  • surveyjs version: 1.5.11

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions