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

event.target.getAttribute is not a function Material-ui ignores "ignoreRowClick" #695

Closed
DanielIndie95 opened this issue Oct 8, 2020 · 1 comment
Labels
wontfix This will not be worked on

Comments

@DanielIndie95
Copy link

Describe the bug

Whenever the onChange occurs in a material ui select element it raises an error of "event.target.getAttribute is not a function" (but the event still works)
As said here https://stackoverflow.com/questions/63581017/material-ui-select-throws-event-target-getattribute-is-not-a-function-when-used the possible solution does work but for reason unknown the "ignoreRowClick" does not resolve this issue (only the event.stopPropagation).
Another thing that might be helpful to know: The component is inside a modal that is open from inside a cell in the table.

To Reproduce

Steps to reproduce the behavior:
1.click on an item in the select
2. check console for errors

Expected behavior

Not to raise any errors

Code Sandbox, Screenshots, or Relevant Code

https://codesandbox.io/s/fervent-mcclintock-bdr9p

https://codesandbox.io/embed/react-data-table-sandbox-ccyuu

Versions (please complete the following information)

  • React: ^16.12.0
  • Styled-Components: ^5.2.0
  • OS: iOS
  • Browser chrome
@stale
Copy link

stale bot commented Nov 7, 2020

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.

@stale stale bot added the wontfix This will not be worked on label Nov 7, 2020
@stale stale bot closed this as completed Nov 14, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
wontfix This will not be worked on
Projects
None yet
Development

No branches or pull requests

1 participant