From a069560e3dd6fa4acf413409d56c5fbb6e9f8808 Mon Sep 17 00:00:00 2001 From: bobzel Date: Wed, 16 Feb 2022 10:40:13 -0500 Subject: changed incremental loading to generate update requests more quickly. turned on local browser caching of server responses (eg, images) --- .../collections/collectionFreeForm/CollectionFreeFormView.tsx | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) (limited to 'src/client/views/collections/collectionFreeForm/CollectionFreeFormView.tsx') diff --git a/src/client/views/collections/collectionFreeForm/CollectionFreeFormView.tsx b/src/client/views/collections/collectionFreeForm/CollectionFreeFormView.tsx index 85187c347..689b6a1b6 100644 --- a/src/client/views/collections/collectionFreeForm/CollectionFreeFormView.tsx +++ b/src/client/views/collections/collectionFreeForm/CollectionFreeFormView.tsx @@ -1302,7 +1302,7 @@ export class CollectionFreeFormView extends CollectionSubView this._numLoaded; get doLayoutComputation() { const { newPool, computedElementData } = this.doInternalLayoutComputation; @@ -1562,8 +1562,10 @@ export class CollectionFreeFormView extends CollectionSubView { - this._numLoaded++; - this._numLoaded < this.views.length && setTimeout(this.incrementalRender, 25); + if (!LightboxView.LightboxDoc || LightboxView.IsLightboxDocView(this.props.docViewPath())) { + this._numLoaded++; + } + this._numLoaded < this.views.length && setTimeout(this.incrementalRender, 1); }) children = () => { -- cgit v1.2.3-70-g09d2