Skip to content

Commit

Permalink
fix: flatten assigned nodes to observe text of nested slots
Browse files Browse the repository at this point in the history
  • Loading branch information
simshanith authored and Westbrook committed Sep 7, 2020
1 parent 09d5b31 commit 08ffd68
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/shared/src/observe-slot-text.ts
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@ export function ObserveSlotText<T extends Constructor<UpdatingElement>>(
@property({ type: Boolean, attribute: false })
public slotHasContent = false;

@queryAssignedNodes(slotSelector)
@queryAssignedNodes(slotSelector, true)
private [assignedNodesList]!: NodeListOf<HTMLElement>;

public manageTextObservedSlot(): void {
Expand Down

0 comments on commit 08ffd68

Please # to comment.