Skip to content

Infinite loop with MutationObserver + browser zoom #31712

Closed
@eric-simonton-sama

Description

@eric-simonton-sama

Using a combination of ngx-bootstrap tooltips, MutationObserver, and browser zooming it is possible to trigger an infinite loop that locks up the browser tab. Here is a plunker demonstrating the issue. Try different browser zoom levels, then mousing over the tooltips. For me it will lock the browser at 90% and 125% zoom, but not at 100% or 110%.

I filed this issue with a couple other libraries while trying to nail down the culprit:

@que-etc mentioned zone.js as his prime suspect in that second link, thus I am filing this issue.

Thanks for making Angular easier to use with this library!

Metadata

Metadata

Assignees

Labels

area: zonesIssues related to zone.js

Type

No type

Projects

No projects

Relationships

None yet

Development

No branches or pull requests

Issue actions