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

feat(react19): Remove findDomNode in ContextPickerModal #82635

Merged
merged 2 commits into from
Dec 30, 2024

Conversation

scttcper
Copy link
Member

since we only use the ref to focus, we can pass an autofocus function to the ref prop. Select has a focus that can be used.

the easiest way i've found to trigger this modal currently is clicking "inbound data filters" on a bad query

image

part of https://github.com/getsentry/frontend-tsc/issues/68

since we only use the ref to focus, we can pass an autofocus function to the ref prop. Select has a focus that can be used.
@scttcper scttcper requested a review from a team December 27, 2024 22:27
@scttcper scttcper changed the title ref(react19): Remove findDomNode in ContextPickerModal feat(react19): Remove findDomNode in ContextPickerModal Dec 27, 2024
@github-actions github-actions bot added the Scope: Frontend Automatically applied to PRs that change frontend components label Dec 27, 2024
Copy link
Member

@ryan953 ryan953 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

nit that doesn't matter. :shipit:

@scttcper scttcper enabled auto-merge (squash) December 30, 2024 19:05
@scttcper scttcper merged commit 925be7b into master Dec 30, 2024
42 checks passed
@scttcper scttcper deleted the scttcper/context-picker-find-dom-node branch December 30, 2024 19:15
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Scope: Frontend Automatically applied to PRs that change frontend components
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants