We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
Currently there's no easy way to get a ref to the DOM element which is inside a Dialog's Overlay, or the .bp4-overlay element itself. This attempt in a code sandbox doesn't work: https://codesandbox.io/s/blueprint-sandbox-forked-7fy0f9?file=/src/CoreExample.tsx
.bp4-overlay
We should forward <Dialog ref={...}> somehow, or add a prop to OverlayableProps like overlayRef?: React.Ref<HTMLElement | null>.
<Dialog ref={...}>
OverlayableProps
overlayRef?: React.Ref<HTMLElement | null>
The text was updated successfully, but these errors were encountered:
Successfully merging a pull request may close this issue.
Environment
Feature request
Currently there's no easy way to get a ref to the DOM element which is inside a Dialog's Overlay, or the
.bp4-overlay
element itself. This attempt in a code sandbox doesn't work: https://codesandbox.io/s/blueprint-sandbox-forked-7fy0f9?file=/src/CoreExample.tsxWe should forward
<Dialog ref={...}>
somehow, or add a prop toOverlayableProps
likeoverlayRef?: React.Ref<HTMLElement | null>
.The text was updated successfully, but these errors were encountered: