Range slider not working on iPhone
See original GitHub issueSweetalert range slider not working on iPhone both with Safari and Chrome, I am not able to move the slider in any direction, it’s not possible to move the slider left and/or right with the phone.
This is the code I am using in my project:
Swal.fire({
title: 'Lease',
html: '<small>Lease value</small>',
input: 'range',
confirmButtonText: 'Confirm',
showCancelButton: true,
cancelButtonColor: '#aaa',
inputAttributes: {
min: 0.001,
max: 5,
step: 0.001
},
inputValue: 0.001,
preConfirm: (value) => {
alert(vaue);
}
});
Tried also at the demo link https://sweetalert2.github.io/#input-range but it doesn’t work. Using iPhone X device and Safari 12 (same result using Chrome).
Thank you
Issue Analytics
- State:
- Created 4 years ago
- Comments:9 (6 by maintainers)
Top Results From Across the Web
Input range slider not working on iOS Safari when clicking on ...
The main problem I have is when I click on the slider track, it doesn't move the slider. It merely highlights the slider....
Read more >Input range slider not working on iOS Safari when ... - YouTube
iOS : Input range slider not working on iOS Safari when clicking on track [ Gift : Animated Search Engine : https://bit.ly/AnimSearch ]...
Read more >Can't set the slider to 0 | Apple Developer Forums
I'm trying to make my sliders at 0 make no shape but the issue is when any slider hits 0 it makes the...
Read more >Some range inputs not working in iOS Safari - CSS-Tricks
The slider for the audio scrubbing is working, but the volume slider refuses to work on IOS. It does work on macOS Safari...
Read more >Range slider in iOS not work as expected - Syncfusion
I am using SfRangeSlider in Xamarin.forms app. I used range slider to select between two times. e.g. 10AM to 12PM. It works fine...
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Yes @limonte, I should be able to do it in about 4 hours
Oops, that’s a regression from https://github.com/sweetalert2/sweetalert2/pull/1596
Thanks @ledzgio for reporting, the fix is coming in a couple of minutes