If any parent component uses ChangeDetectionStrategy.OnPush, it will affect change detection in child components. If a child component uses ChangeDetectionStrategy.Default it might not function as expected.
This might even work with components from libraries as the metadata contains information about the change detection.