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

[DataGrid] Fix throw error with onBlur at SVG element #13028

Merged
merged 2 commits into from
May 7, 2024

Conversation

oukunan
Copy link
Contributor

@oukunan oukunan commented May 6, 2024

Closes #12955

In HTML, className is a string. In SVG it is an SVGAnimatedString object. I think It is better to get the className of an element using elem.getAttribute.

@zannager zannager added the component: data grid This is the name of the generic UI component, not the React module! label May 6, 2024
@romgrk romgrk enabled auto-merge (squash) May 6, 2024 16:22
@mui-bot
Copy link

mui-bot commented May 7, 2024

Deploy preview: https://deploy-preview-13028--material-ui-x.netlify.app/

Generated by 🚫 dangerJS against 50fca76

@romgrk romgrk merged commit 841b482 into mui:master May 7, 2024
15 checks passed
joakimtveter pushed a commit to joakimtveter/mui-x that referenced this pull request Jun 6, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
component: data grid This is the name of the generic UI component, not the React module!
Projects
None yet
Development

Successfully merging this pull request may close these issues.

[data grid] Clicking a focusable <g> element throws an error in the table after sorting a column DESC
4 participants