react-remove-scroll icon indicating copy to clipboard operation
react-remove-scroll copied to clipboard

Input elements cannot be scrolled horizontally

Open gavinxgu opened this issue 3 years ago • 0 comments

Description

Input elements cannot be scrolled horizontally when text overflowed.

Demo

https://codesandbox.io/s/competent-elion-c97sig?file=/src/App.tsx

Code reference

Maybe the problem is in the following logic.

https://github.com/theKashey/react-remove-scroll/blob/24fcd4b29cfd4bf65ab43068b836780d6dddd359/src/handleScroll.ts#L17-L19

gavinxgu avatar Feb 28 '22 09:02 gavinxgu