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

domRoot is ineffective #577

Open
chen2938 opened this issue Aug 21, 2023 · 3 comments
Open

domRoot is ineffective #577

chen2938 opened this issue Aug 21, 2023 · 3 comments

Comments

@chen2938
Copy link

Expected Behavior

#493

I found this issue, but it seems that there are no code examples available on the official website. After setting the domRoot attribute using useRef, it still use document. body as the benchmark.
Can you provide an example of how to customize relative positions on the official website?

Current Behavior

Steps to Reproduce

Link:

Context

Your Environment

Tech Version
Notistack v3.0.2
React 17.0.2
Browser
etc.
@chen2938
Copy link
Author

image
Is it a problem with my usage?

@chen2938
Copy link
Author

https://codesandbox.io/s/loving-joliot-6mz9vw
Here is an example of how to use it

@eddiew
Copy link

eddiew commented Jun 20, 2024

I am experiencing this issue also

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