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

Add appendTo option to PrimeReact api #1964

Closed
mertsincan opened this issue Apr 18, 2021 · 0 comments
Closed

Add appendTo option to PrimeReact api #1964

mertsincan opened this issue Apr 18, 2021 · 0 comments
Assignees
Labels
Type: New Feature Issue contains a new feature or new component request
Milestone

Comments

@mertsincan
Copy link
Member

Allows users to change the appendTo property of all overlay components globally using PrimeReact.appendTo.

PrimeReact.appendTo = 'self' | HTMLElement | undefined | null;

Default is null. Therefore, all overlay components append to the body.
@mertsincan mertsincan added the Type: New Feature Issue contains a new feature or new component request label Apr 18, 2021
@mertsincan mertsincan added this to the 6.2.2 milestone Apr 18, 2021
@mertsincan mertsincan self-assigned this Apr 18, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Type: New Feature Issue contains a new feature or new component request
Projects
None yet
Development

No branches or pull requests

1 participant