-
-
Notifications
You must be signed in to change notification settings - Fork 32.7k
Closed
Labels
scope: listChanges related to the listChanges related to the listtype: new featureExpand the scope of the product to solve a new problem.Expand the scope of the product to solve a new problem.
Description
- This is not a v0.x issue.
- I have searched the issues of this repository and believe that this is not a duplicate.
Expected Behavior
I just run into #8205 for the nth time and my fix is always the same, make ListItemSecondaryAction staticly positioned, make the list item container a flexbox and undo the additional padding.
<ListItem
style={{paddingRight: 16}}
ContainerProps={{
style: {display: 'flex', alignItems: 'center'},
}}
>
...
<ListItemSecondaryAction
style={{position: 'static', transform: 'none'}}
>
...
</ListItemSecondaryAction>
</ListItem>
It would be nice if this was not necessary and instead the default behavior.
Current Behavior
The ListItemSecondaryAction is absolutely positioned, causing the problem that it does not grow to take the space needed for its content.
Examples
N/A
Context
I think this is described with enough context above.
esso23, prumand, hibearpanda, oliviertassinari and laneschmidt
Metadata
Metadata
Assignees
Labels
scope: listChanges related to the listChanges related to the listtype: new featureExpand the scope of the product to solve a new problem.Expand the scope of the product to solve a new problem.