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

[Autocomplete] Add missing onMouseDown type to AutocompleteRenderInputParams #44183

Merged
merged 5 commits into from
Oct 23, 2024

Conversation

sai6855
Copy link
Contributor

@sai6855 sai6855 commented Oct 22, 2024

This PR adds missing onMouseDown type to AutocompleteRenderInputParams

@sai6855 sai6855 marked this pull request as draft October 22, 2024 12:51
@@ -81,6 +81,7 @@ export interface AutocompleteRenderInputParams {
className: string;
startAdornment: React.ReactNode;
endAdornment: React.ReactNode;
onMouseDown: (event: React.MouseEvent<HTMLDivElement, MouseEvent>) => void;
Copy link
Contributor Author

@sai6855 sai6855 Oct 22, 2024

Choose a reason for hiding this comment

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

onMouseDown is passed to renderInput args, but the type doesn't reflect that:

@oliviertassinari oliviertassinari added typescript component: autocomplete This is the name of the generic UI component, not the React module! labels Oct 22, 2024
@mui-bot
Copy link

mui-bot commented Oct 22, 2024

Netlify deploy preview

https://deploy-preview-44183--material-ui.netlify.app/

Bundle size report

No bundle size changes (Toolpad)
No bundle size changes

Generated by 🚫 dangerJS against 8e46264

@sai6855 sai6855 marked this pull request as ready for review October 22, 2024 17:27
@sai6855 sai6855 requested a review from aarongarciah October 22, 2024 17:41
Copy link
Member

@aarongarciah aarongarciah left a comment

Choose a reason for hiding this comment

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

Thanks!

@aarongarciah aarongarciah merged commit 888eed2 into mui:master Oct 23, 2024
19 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
component: autocomplete This is the name of the generic UI component, not the React module! typescript
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants