React-modal: Tall modal won't scroll

Created on 24 Aug 2019  路  2Comments  路  Source: reactjs/react-modal

Anyone got the chance to have a tall modal (height > 100% of screen size) to scroll correctly?

Although there are libs like react-modal and others to spin up a modal I can't seem to find a solution across them to have a tall modal working the way it should.

Most helpful comment

Hi @cassiopagnoncelli , you can try something like this https://codesandbox.io/s/scroll-view-zlppg.

All 2 comments

Hi @cassiopagnoncelli , you can try something like this https://codesandbox.io/s/scroll-view-zlppg.

Thanks mate! Actually got it working this morning. Quick question, why isn't body scrolling natively supported? It seems to me to be the most direct use case.

Was this page helpful?
0 / 5 - 0 ratings

Related issues

istok20 picture istok20  路  3Comments

dragonball9816 picture dragonball9816  路  3Comments

yaoyao1024 picture yaoyao1024  路  3Comments

leoasis picture leoasis  路  4Comments

kinucris picture kinucris  路  3Comments