[material-ui][Card] Cards with a Button as a child element may not position the Button correctly when transitioning in Safari #39138
Labels
browser: Safari
component: card
This is the name of the generic UI component, not the React module!
package: material-ui
Specific to @mui/material
Duplicates
Latest version
Steps to reproduce 🕹
Link to live example:
https://codesandbox.io/p/sandbox/sharp-wilbur-w2yh5z?file=%2Fsrc%2FApp.tsx%3A16%2C27
Steps:
EXPAND
button on one of the cardsCurrent behavior 😯
When the height of the
Card
changes, the position of the card below it changes, but theButton
in the card does not follow it until the transition is complete.This causes the contents and buttons to overlap.
Expected behavior 🤔
Button
should transition as well asCard
transition.Context 🔦
Card
is not inside a scrollable element (removing theBox
'ssx
props inApp.tsx
works fine).Your environment 🌎
npx @mui/envinfo
The text was updated successfully, but these errors were encountered: