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

Input problem #3

Open
OscarCanek opened this issue Aug 28, 2017 · 2 comments
Open

Input problem #3

OscarCanek opened this issue Aug 28, 2017 · 2 comments

Comments

@OscarCanek
Copy link

When I put a input control inside the DragScroll I can't add text to it, how can I fix that?

@Claim0013
Copy link

Did you manage to fix it? I am having the same issue - tried changing the z-index value without success.

@ianchouinard
Copy link

I know this issue is old, but I ran into this issue too.

I managed to fix this locally by removing the preventDefault on line 52 here https://github.com/qiaolb/react-dragscroll/blob/master/src/DragScroll.jsx

Not sure what exactly the preventDefault is supposed to be guarding against here, but the dragscroll still seemed to function properly after. Probably makes more sense to check if the mouseDown isn't an input before preventing default.

The author doesn't seem to be actively upkeeping this repo based on the lack of feedback in issues or on the open PRs, so I doubt theres much luck in getting feedback form the author on it.

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

3 participants