diff --git a/components/StaffReportView.tsx b/components/StaffReportView.tsx index 2ff795d..c53e7c6 100644 --- a/components/StaffReportView.tsx +++ b/components/StaffReportView.tsx @@ -152,11 +152,16 @@ export function StaffReportView({
- 0} - framed={framed} - /> + {/* Hide the anchor strip when framed in CiviCRM: the iframe has no + internal scroll context (it auto-sizes to content), so anchor + clicks change the hash but don't move the parent page. */} + {!framed && ( + 0} + framed={framed} + /> + )} {membersField && membersField.history.length > 0 ? (