react-dragscroll icon indicating copy to clipboard operation
react-dragscroll copied to clipboard

Input problem

Open OscarCanek opened this issue 8 years ago • 2 comments

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

OscarCanek avatar Aug 28 '17 20:08 OscarCanek

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

Claim0013 avatar Mar 14 '19 13:03 Claim0013

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.

ianchouinard avatar May 02 '19 21:05 ianchouinard