Comments (5)
I faced the same issue, except even after installing browserify-shim I got the error Label.js:74 Uncaught TypeError: Cannot read property 'Component' of undefined
, and am not sure how to solve that.
from react-input-range.
I also ran into the same problem as @rohandas. Getting browserify-shim
to work proved to be too daunting, so I'm uninstalling this and moving to another solution. I'll use this solution on other projects, just not this one.
from react-input-range.
@rohandas not sure if this is your issue or not but I've seen this before when using var InputRange = require('react-input-range');
on components that use es6 exports. Perhaps using import InputRange from 'react-input-range';
will fix this for you?
from react-input-range.
Just echoing same problem as @rohandas - I'm using ES6 imports:
import InputRange from 'react-input-range';
Label.js:77 Uncaught TypeError: Cannot read property 'Component' of undefined
at Object.<anonymous> (Label.js:77)
at Object.223 (Label.js:86)
at s (_prelude.js:1)
at _prelude.js:1
at Object.<anonymous> (Slider.js:25)
at Object.224../Label (Slider.js:252)
at s (_prelude.js:1)
at _prelude.js:1
at Object.<anonymous> (InputRange.js:25)
at Object.222../Label (InputRange.js:773)
from react-input-range.
Thanks for raising this issue. The problems listed above should be fixed with ^1.0.0
.
from react-input-range.
Related Issues (20)
- How to hide the left side tooltip based on certain conditions HOT 1
- On the IOS screen reader it says swipe up or down what kind of event it triggers??? HOT 1
- Can we have different on change handler events for min and max values?
- onChangeComplete still fires when disabled
- Option to disable some region
- How to get a reference of a specific input when render multiple InputRange HOT 1
- Add onFocus & onBlur
- sameValue to min-max -- choosing handle based on drag direction
- when turned by transform, rotation stops working
- Arrow keys do not work with a step value of less than 1 and value that has min and max
- Value changing but slider not moving
- Unable to preventDefault inside passive event listener invocation HOT 3
- Aria labels should show a value processed by the formatLabel prop and not the actual values
- react 17 is unsupported HOT 5
- allowSameValues props is not working
- Cannot move slider - Unable to preventDefault inside passive event listener invocation.
- Issue with slider label on safari
- Warning: Failed prop type: "value" must be in between "minValue" and "maxValue" how to resolve this ?
- React 18? HOT 2
- scroll issue on iphone
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from react-input-range.