Not working If html, body { height:100%; overflow-x : hidden; }
Do not know if it was intentionally,
http://prntscr.com/j5izkn
but, anyway, you should warn about this on Readme.md, pls
I can confirm that, its not working with html, body {height: 100%}
Confirmed here, too. In my project, setting body height to 100% makes all scrolling not work. However, adding {height: 100%} to the example doesn't break scrolling...
https://codesandbox.io/s/3rw4jq448p
Confirmed with max-height as well. Is there any progress on this issue?
For a couple of days I have been trying to find out why doesn't this component work in my project, going through docs, comparing with my other two projects where I tried using this, rewriting all elements, using name and id... And then I found this.
Now, react-scroll works like a charm. Thank you
When I put overflow: auto; along with height: 100% it works.
But we don't want to use overflow: auto; because it makes problem on the mobile web...
Confirmed with overflow: hidden breaks this. But it works with height: 100%.
As a workaround, I used overflow: hidden on class App which was my root class of whole app. It did what I wanted and react-scroll didn't break.
body hieght 100% is still a issue