Issue #2414953 by alexpott: Element uses \Drupal::service() as a service locator and prevents injecting a custom typed config manager in config