pradel / react-responsive-modal

Simple responsive react modal
https://react-responsive-modal.leopradel.com/
MIT License
604 stars 95 forks source link

Ability to specify an id for modal-container #483

Closed audree1 closed 2 years ago

audree1 commented 2 years ago

Feature request

In order to implement Infinite scrolling, I need to assign or have an id associated with the modal-container (the scroll target).

Is your feature request related to a problem? Please describe.

Yes - I am implementing infinite scrolling in the modal. I forked the repo and have it working. But of course, this is a temporary workaround.

A clear and concise description of what you want and what your use case is.

Describe the solution you'd like

Similar to the way we can specify the modalId, add the ability to specify the containerId. Thank you.

A clear and concise description of what you want to happen.

Additional context

Add any other context or screenshots about the feature request here.