RangeSlider not responding on mobile
See original GitHub issueDescription
Cant reproduce your code on my site.
Link to Reproduction
https://codesandbox.io/s/laughing-mirzakhani-wzx974?file=/pages/index.js
Steps to reproduce
Hi
I pasted your code from the Chakra UI site on my site. The slider works on desktop but not mobile, bit it work on both for you site. Why is this?
TIA
PS LOVE Chakra!
` import { RangeSlider, RangeSliderTrack, RangeSliderFilledTrack, RangeSliderThumb, } from ‘@chakra-ui/react’
export default function Range(){
return(
<RangeSlider
aria-label={[‘min’, ‘max’]} colorScheme=‘pink’ defaultValue={[10, 30]}
<RangeSliderTrack> <RangeSliderFilledTrack /> </RangeSliderTrack> <RangeSliderThumb index={0} /> <RangeSliderThumb index={1} /> </RangeSlider> )} `
Chakra UI Version
2.2.4
Browser
Google Chrome
Operating System
- macOS
- Windows
- Linux
Additional Information
No response
Issue Analytics
- State:
- Created a year ago
- Reactions:3
- Comments:5 (1 by maintainers)
Top Results From Across the Web
jquery - Range slider does not work in mobile? - Stack Overflow
I tried implementing jquery range slider, Its working perfectly in Computer but while browsing from mobile, its not working.
Read more >range slider of custom field does not respond to touch event ...
However, the range slider do not respond to touch event on mobile. Solution: It is a custom JS codes (range slider) with iPhone...
Read more >Problems with Material Range Slider on Android
The Problem. When I started making this component, I wrote this piece of code expecting to see a RangeSlider with values ranging from...
Read more >Mobile Range Slider issue | OutSystems
Mobile. OutSystems Widgets. The range slider seems to not start at 0, even though the value is 0. See the gif below:.
Read more >Range slider for contact form 7 does not work on mobile
[This thread is closed.] Range slider for contact form 7 Plugin does not work on mobile. How can I solve The Problem? If...
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 FreeTop 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
Top GitHub Comments
Thanks for the detailed analysis @simonflk. This regression is on me and I’ve just pushed a fix for this. We’ll release an update shortly.
Reference: https://github.com/chakra-ui/chakra-ui/commit/7000bb5fe432db85ed41aeb0c5d488bbc7da4785
If the issue persists after upgrading, I’ll re-open it.
I saw the same thing happening yesterday, but today the chakra docs are broken - I’m guessing they just pushed out a docs update which picked up the new version.
I spent way too long trying to see why it appeared to work in the docs but not in my app