@fluidframework/container-loader 2.0.0-internal.4.4.2 → 2.0.0-internal.4.4.4
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/container.js +2 -2
- package/dist/container.js.map +1 -1
- package/dist/packageVersion.d.ts +1 -1
- package/dist/packageVersion.js +1 -1
- package/dist/packageVersion.js.map +1 -1
- package/lib/container.js +2 -2
- package/lib/container.js.map +1 -1
- package/lib/packageVersion.d.ts +1 -1
- package/lib/packageVersion.js +1 -1
- package/lib/packageVersion.js.map +1 -1
- package/package.json +9 -9
- package/src/container.ts +2 -2
- package/src/packageVersion.ts +1 -1
package/dist/container.js
CHANGED
|
@@ -277,8 +277,8 @@ class Container extends telemetry_utils_1.EventEmitterWithErrorHandling {
|
|
|
277
277
|
document !== null &&
|
|
278
278
|
typeof document.addEventListener === "function" &&
|
|
279
279
|
document.addEventListener !== null;
|
|
280
|
-
// keep track of last time page was visible for telemetry
|
|
281
|
-
if (isDomAvailable) {
|
|
280
|
+
// keep track of last time page was visible for telemetry (on interactive clients only)
|
|
281
|
+
if (isDomAvailable && interactive) {
|
|
282
282
|
this.lastVisible = document.hidden ? common_utils_1.performance.now() : undefined;
|
|
283
283
|
this.visibilityEventHandler = () => {
|
|
284
284
|
if (document.hidden) {
|