gpietro / react-numpad

A numpad for number, date and time, built with and for React.
MIT License
138 stars 38 forks source link

Body style overrides overflow-y field for whole document #152

Open TraderSamwise opened 3 years ago

TraderSamwise commented 3 years ago

It looks like this file lib/styles/global-css.js. It contains overflow-y: hidden; for the body. It is not applying the style only to the numpad component, but actually to the whole body? I'm not sure what this file is achieving. I overrode the body style manually and the component seems to work fine.

Just posting this issue here incase anyone else runs into trouble. I only noticed a problem on Android mobile for some reason, but the style shows up across all clients.

Thanks! This is a great component!