Closed
Description
Duplicates
- I have searched the existing issues
Latest version
- I have tested the latest version
Steps to reproduce 🕹
Link to live example: https://codesandbox.io/s/sweet-voice-6g6cyk?file=/demo.tsx
Steps:
- Click on the text field in the area between the placeholder and the top border
Current behavior 😯
Depending on the click position, the picker might not open:
date-range-picker-click.mov
Expected behavior 🤔
The picker should open regardless of the click position
Context 🔦
I think it only happens when clicking over the hidden label:
![](https://private-user-images.githubusercontent.com/13808724/246790874-70c9a5ca-632f-49b3-b41a-0caffba73226.png?jwt=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3MzkzNDMzNzcsIm5iZiI6MTczOTM0MzA3NywicGF0aCI6Ii8xMzgwODcyNC8yNDY3OTA4NzQtNzBjOWE1Y2EtNjMyZi00OWIzLWI0MWEtMGNhZmZiYTczMjI2LnBuZz9YLUFtei1BbGdvcml0aG09QVdTNC1ITUFDLVNIQTI1NiZYLUFtei1DcmVkZW50aWFsPUFLSUFWQ09EWUxTQTUzUFFLNFpBJTJGMjAyNTAyMTIlMkZ1cy1lYXN0LTElMkZzMyUyRmF3czRfcmVxdWVzdCZYLUFtei1EYXRlPTIwMjUwMjEyVDA2NTExN1omWC1BbXotRXhwaXJlcz0zMDAmWC1BbXotU2lnbmF0dXJlPWU2ZTFkNjk2YTVjMWYyYTdjNzlmYjQ4OTk5MWVkOWJmMjFkZDcyYWNlNDdhZTNhZmEzM2IyMWY2NDQ3NjMzYmMmWC1BbXotU2lnbmVkSGVhZGVycz1ob3N0In0.4GaxOpIoAELStA11fyAIip0hMvYN9krttVFqKvfqDys)
Interestingly, I can reproduce the issue in Chrome and Safari, but not in Firefox.
Also, I checked if the Autocomplete component suffers from the same issue, but it doesn't: https://mui.com/material-ui/react-autocomplete/#combo-box
Your environment 🌎
npx @mui/envinfo
Don't forget to mention which browser you used.
Output from `npx @mui/envinfo` goes here.
Order ID or Support key 💳 (optional)
No response