;
}
}
diff --git a/src/client/views/nodes/PresBox.tsx b/src/client/views/nodes/PresBox.tsx
index 36705ecba..5c6f7095a 100644
--- a/src/client/views/nodes/PresBox.tsx
+++ b/src/client/views/nodes/PresBox.tsx
@@ -299,7 +299,7 @@ export class PresBox extends ViewBoxBaseComponent
// if targetDoc is not displayed but one of its aliases is, then we need to modify that alias, not the original target
const bestTarget = DocumentManager.Instance.getFirstDocumentView(targetDoc)?.props.Document;
bestTarget && runInAction(() => {
- if (bestTarget.type === DocumentType.PDF) {
+ if (bestTarget.type === DocumentType.PDF || bestTarget.type === DocumentType.WEB || bestTarget.type === DocumentType.RTF || bestTarget._viewType === CollectionViewType.Stacking) {
bestTarget._scrollY = activeItem.presPinViewScroll;
} else {
bestTarget._viewTransition = activeItem.presTransition ? `transform ${activeItem.presTransition}ms` : 'all 0.5s';
@@ -485,7 +485,6 @@ export class PresBox extends ViewBoxBaseComponent
/**
* The method called to open the presentation as a minimized view
- * TODO: Look at old updateMinimize and compare...
*/
@undoBatch
@action
@@ -1664,16 +1663,16 @@ export class PresBox extends ViewBoxBaseComponent
const propTitle = CurrentUserUtils.propertiesWidth > 0 ? "Close Presentation Panel" : "Open Presentation Panel";
return (