Skip to content

Observe DOM element changes even when a user doesn't scroll on the page #328

@mattab

Description

@mattab

currently in the "Element visibility" trigger (and possibly others), the DOM is re-scanned (only?) when a "Scroll" is detected. But sometimes, a new Element might become visible, yet the user is not scrolling (for example when the user clicks on a button and a new DOM element appears). The Element visibility trigger wouldn't be triggered in this case (until the user scrolls).

In terms of solutions, I have no idea really.... but some thoughts anyway:
maybe there could be some possible improvements (ie. detect element visibility on "Click" as well as "Scroll" and maybe other events also).

Metadata

Metadata

Labels

EnhancementNew feature or request

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions