material-ui: mui.com documentation imploded "Cannot read properties of undefined (reading 'type')"

Probably reported to the wrong place, for that I apologize.

Duplicates

  • I have searched the existing issues

Latest version

  • I have tested the latest version

Current behavior 😯

https://mui.com/components/text-fields/#main-content implodes.

image

Expected behavior 🤔

It was working half an hour ago.

Steps to reproduce 🕹

Steps:

  1. Go to https://mui.com/components/text-fields/#main-content
  2. Wait until hydration begins.
  3. Observe error

Context 🔦

No response

Your environment 🌎

`Browser` `Google Chrome Version 96.0.4664.45 (Official Build) (64-bit)`
`OS` `Fedora 34 (Thirty Four) with kernel 5.14.18-200.fc34.x86_64 #1 SMP Fri Nov 12 16:48:10 UTC 2021`

About this issue

  • Original URL
  • State: closed
  • Created 2 years ago
  • Comments: 24 (6 by maintainers)

Most upvoted comments

datagrid version 5.17.8 still has the error steps to reproduce

  1. place datagrid on a page
  2. place datagrid on the same page inside dialog
  3. open dialog and click on datagrid row

image

as a result publishClick** event fired twice for both datagrids but second event can’t find column.

Any thoughts why event rowClick event fired twice for both datagrids?

datagrid version 5.17.8 still has the error steps to reproduce

  1. place datagrid on a page
  2. place datagrid on the same page inside dialog
  3. open dialog and click on datagrid row

image as a result publishClick** event fired twice for both datagrids but second event can’t find column. Any thoughts why event rowClick event fired twice for both datagrids?

This is more or less the exact setup I have too. When opening a Dialog with another DataGrid inside the column.type check fails

Make sure you don’t have a cicle dependencies in your code. As this was exactly what happened to me. It clicks cicle twice instead of one time.

Can you explain a bit more? This same issue is bugging me, and I don’t seem to get a solution from Google.

Adding e.stopPropagation() to the click handler fixed it for me.

Repro on Fedora 35 Workstation with Gnome 41 (default DE) up-to-date

Same as above, happens much more often on the data table pages then other pages of the documentation.

On Mon., Jan. 24, 2022, 12:32 a.m. Marija Najdova, @.***> wrote:

@DanailH https://github.com/DanailH could you check? I cannot repro on Windows.

— Reply to this email directly, view it on GitHub https://github.com/mui-org/material-ui/issues/30562#issuecomment-1019841486, or unsubscribe https://github.com/notifications/unsubscribe-auth/AAOSNPPB3R4DL2QHHPTIIILUXUFBXANCNFSM5LSPIQVA . Triage notifications on the go with GitHub Mobile for iOS https://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675 or Android https://play.google.com/store/apps/details?id=com.github.android&referrer=utm_campaign%3Dnotification-email%26utm_medium%3Demail%26utm_source%3Dgithub.

You are receiving this because you modified the open/close state.Message ID: @.***>