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

When console-feed is used to console click event target e, some times it will cause the page to crash #91

Open
y805939188 opened this issue Jul 22, 2021 · 0 comments

Comments

@y805939188
Copy link

Codesanbox: https://codesandbox.io/s/elegant-maxwell-sjem1?file=/index.js

Hello, I found that sometimes the page crashes when console.log(e) when I use a public component library like ant-design.
But I don’t think this is a problem with the component library like ant-design.
Because when I use other component libraries, if console.log(e), I also have this problem.
Even when my project has a little complexity, even if I use the native tag, the problem will occur.
But when the project is very simple, if console.log(e), the page will just be stuck for a while, about a few seconds.
So I guess it’s because when the project becomes more complex, the parent-child relationship between the elements leads to the circular reference of e.target, which leads to an endless loop.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant