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

Infinite Loop randomly triggered on Chrome #1489

Closed
masbaehr opened this issue Apr 14, 2019 · 3 comments
Closed

Infinite Loop randomly triggered on Chrome #1489

masbaehr opened this issue Apr 14, 2019 · 3 comments

Comments

@masbaehr
Copy link

masbaehr commented Apr 14, 2019

I've noticed something weird on Chrome.

Sometimes i run into an infinite loop (Browser Freezes). I cant tell though when exactly it happens. Seems to be random.

Using "Pause" when this happens i was able to narrow it down to this spot:

Note: I'm using "fallback" to work on Mobile

image

Better view of the critical spot:
image

@owen-m1
Copy link
Member

owen-m1 commented Apr 15, 2019

@masbaehr What is the structure of your HTML? Could you provide a minimal reproduction?

@masbaehr
Copy link
Author

Unfortunatly it's not easy to create a minimal reproduction with only HTML. I'm using Vaadin Flow which is heavily using Shadow-DOMs. Maybe i could setup a test-server if it would help. I did a workaround by using a simple counter which exits the while after a few hundred iterations ;-). Maybe a simple rework of this without using while would help. It does not seem to have any side-effect

@owen-m1
Copy link
Member

owen-m1 commented Apr 18, 2019

@masbaehr Please try the latest version on master branch and tell me if it fixes the problem for you.

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

2 participants