I've created a patch that fixes the JavaScript issue. I don't believe it's related to https://www.drupal.org/project/viewfield β . In my case, the issue arises when I'm using the layout builder, and https://www.drupal.org/project/stable β (If I switch to Olivero theme, issue disapears).
Proposed patch also fixed https://www.drupal.org/project/selective_better_exposed_filters/issues/3... π While using 'show only used items', hide content preview in layout builder doesn't work Active , so It might be related for better testing.
Patrikk β created an issue.
I've created patch for 9.5, with same fix as for 10.1