React-modal: Why appElement prop is undocumented?

Created on 19 Nov 2018  路  2Comments  路  Source: reactjs/react-modal

Summary:

appElement prop is in the code and is used in ModalPortal to show/hide content via ariaAppHider but the prop is undocumented. Why appElement is not in the documentation? Is it safe to be used or is it deprecated?

Most helpful comment

It's also included in the dev-mode warning message when you haven't set the app element, so it seems that it's probably something that should be documented.

All 2 comments

Would be great if someone from the team could comment on this. Is it safe to use appElement?

It's also included in the dev-mode warning message when you haven't set the app element, so it seems that it's probably something that should be documented.

Was this page helpful?
0 / 5 - 0 ratings