--- a/viewsreference.module	2026-10-08 13:20:46.834220962 +0000
+++ b/viewsreference.module	2026-10-08 13:20:46.914186673 +0000
@@ -85,6 +85,14 @@
     return;
   }

+  // Attachments run in their own view executable. On normal page loads they
+  // never receive the settings, but on AJAX requests they would pick them up
+  // from the request and get e.g. the parent's style options applied. Skip
+  // them so AJAX and non-AJAX rendering behave the same.
+  if ($view->display_handler?->getPluginId() === 'attachment') {
+    return;
+  }
+
   if (!empty($view->getRequest()->query->all('viewsreference'))) {
     $view->element['#viewsreference'] = $view->getRequest()->query->all('viewsreference');
     // For ajax views we reset all handlers and make the view initialize again
