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

why don't move range cursor whenever click or drag value on line #1265

Open
monteseniordev opened this issue Feb 27, 2024 · 0 comments
Open

Comments

@monteseniordev
Copy link

monteseniordev commented Feb 27, 2024

I use noUiSlider 13.1.5 in my project.
there is very strange issue.
I implemented all functions and work well on my workspace.
but after deploy source to other domain, whenever give action click or drag on slider, don't move range cursor.
in other ways, slider don't work for set updated value.

if I use variable maxPrice, occur above issue.

noUiSlider.create(slider, {
                start: [ 0, maxPrice ],
                connect: true,
                step: 50,
                margin: 200,
                range: {
                    'min': 0,
                    'max': **maxPrice**
                },
                tooltips: true,
                format: wNumb({
                    decimals: 0,
                    prefix: ' AED '
                })
            });

but if I use number such as 1000, all work well.

noUiSlider.create(slider, {
                start: [ 0, maxPrice ],
                connect: true,
                step: 50,
                margin: 200,
                range: {
                    'min': 0,
                    'max': **1000**
                },
                tooltips: true,
                format: wNumb({
                    decimals: 0,
                    prefix: ' AED '
                })
            });

why happened this?
work
error

this code work well in my workspace. very very strange

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant