mui / mui-x

MUI X: Build complex and data-rich applications using a growing list of advanced React components, like the Data Grid, Date and Time Pickers, Charts, and more!
https://mui.com/x/
4.11k stars 1.27k forks source link

[data grid] single click on IconButton inside data grid not works #13480

Closed agarg-solveda closed 3 months ago

agarg-solveda commented 3 months ago

The problem in depth

Clicking on the IconButton inside the Data Grid does not work in a single click. We have to click two times to execute the handler of the IconButton. We have also tried MuiButton and GridActionsCellItem and the behavior is the same. It requires a double click. Attaching some code snippet screenshots and recording of issue. Screenshot from 2024-06-14 16-41-57 Screenshot from 2024-06-14 16-41-38

https://github.com/mui/mui-x/assets/158030342/dfffecc9-61e1-46a0-8062-1a9705c95a34

Your environment

`npx @mui/envinfo` ``` Don't forget to mention which browser you used. Output from `npx @mui/envinfo` goes here. ```

Search keywords: mui data grid, IconButton, GridActionsCellItem Order ID: 88539

michelengelen commented 3 months ago

To help us diagnose the issue efficiently, could you provide a stripped-down reproduction test case using the latest version? A live example would be fantastic! ✨

For your convenience, our documentation offers templates and guides on creating targeted examples: Support - Bug reproduction

Just a friendly reminder: clean, functional code with minimal dependencies is most helpful. Complex code can make it tougher to pinpoint the exact issue. Sometimes, simply going through the process of creating a minimal reproduction can even clarify the problem itself!

Thanks for your understanding! 🙇🏼

agarg-solveda commented 3 months ago

Sure, I will share the code sandbox link with minimal use cases by 20th June, EOD

github-actions[bot] commented 3 months ago

The issue has been inactive for 7 days and has been automatically closed.