Expandable list remove anchor (#5559)
Deprecate anchorElement on ExpandableList to avoid props drilling. The anchorElement should be the ExpandableList container itself
This commit is contained in:
@ -104,12 +104,7 @@ export const CalendarEventParticipantsResponseStatusField = ({
|
||||
</StyledLabelAndIconContainer>
|
||||
<StyledDiv ref={participantsContainerRef}>
|
||||
{isRightDrawerAnimationCompleted && (
|
||||
<ExpandableList
|
||||
anchorElement={participantsContainerRef.current || undefined}
|
||||
isChipCountDisplayed
|
||||
>
|
||||
{styledChips}
|
||||
</ExpandableList>
|
||||
<ExpandableList isChipCountDisplayed>{styledChips}</ExpandableList>
|
||||
)}
|
||||
</StyledDiv>
|
||||
</StyledInlineCellBaseContainer>
|
||||
|
||||
Reference in New Issue
Block a user