Skip to content

Commit 1fa393a

Browse files
authored
fix: gutter content child without descendants (#518)
1 parent b493e5e commit 1fa393a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

projects/angular-split/src/lib/split/split.component.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -98,7 +98,7 @@ export class SplitComponent {
9898
* @internal
9999
*/
100100
readonly _areas = contentChildren(SPLIT_AREA_CONTRACT)
101-
protected readonly customGutter = contentChild(SplitGutterDirective)
101+
protected readonly customGutter = contentChild(SplitGutterDirective, { descendants: false })
102102
readonly gutterSize = input(this.defaultOptions.gutterSize, {
103103
transform: numberAttributeWithFallback(this.defaultOptions.gutterSize),
104104
})

0 commit comments

Comments
 (0)