-
-
Notifications
You must be signed in to change notification settings - Fork 32.7k
[Stack] Does not play nicely with TextField margin dense #33155
Copy link
Copy link
Closed
Labels
component: StackThe React component.The React component.type: bugIt doesn't behave as expected.It doesn't behave as expected.
Description
Duplicates
- I have searched the existing issues
Latest version
- I have tested the latest version
Current behavior 😯
When you have a row Stack with two TextFields margin dense, they are misaligned:
<Stack spacing={2} direction="row">
<TextField margin="dense" />
<TextField margin="dense" />
</Stack>
Expected behavior 🤔
The text fields should be aligned.
Steps to reproduce 🕹
Context 🔦
Horizonal forms - eg. a filter bar.
Your environment 🌎
See repro
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
component: StackThe React component.The React component.type: bugIt doesn't behave as expected.It doesn't behave as expected.
