Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Modal does not display correctly, cuts off top part #163

Closed
bau123 opened this issue Jul 11, 2018 · 2 comments
Closed

Modal does not display correctly, cuts off top part #163

bau123 opened this issue Jul 11, 2018 · 2 comments

Comments

@bau123
Copy link

bau123 commented Jul 11, 2018

Summary:

When I create a modal with too much text or images, the modal does not give the correct scroll features and will cut the top part of the modal

Steps to reproduce:

  1. create a modal
  2. a too many lines of text
    3.modal cannot display all text correctly and cuts off top part

| Tech | Version |
| react-responsive-modal | 3.0.3 |
| React | 16.3.2 |
| browser Edge | 38.14393.2068.0 |

@pradel
Copy link
Owner

pradel commented Jul 11, 2018

Are you using the center prop on the modal?

@bau123
Copy link
Author

bau123 commented Jul 12, 2018

@pradel Ah yes I used the center prop. Thanks

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants