#861·stimulus

Outlet can't be detected when visibilitychange event is fired

Author: DavidPetrasekCreated Sep 28, 2025Updated Sep 28, 2025

Given this callback:

javascript
visibilityChangeCallback (e)
{
     console.log(this.hasSomeOutlet);
}

When switching to a different tab and then back to the initial tab, the console log output is null