New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Bug: calcite-input no longer has the same height as calcite-action #2736
Comments
@asangma currently the actions are at 32px, 48px, 64px. Would you be down with getting actions down to 24, 32, 44 like buttons, inputs, selects, etc? |
I see this one is still in the refactor to-do. We can prioritize it to match the height scale of all other components. Would there be any reason this component should NOT match the scale as all other components? |
If there are no objections with updating the heights of |
@bstifle will need to see how that affects..kinda everything. It would have broad effects in existing implementations. As a note, when Action is not showing text and is just the icon, medium would be 32x32 which I believe is smaller than suggested mobile touch size. It's also pretty small hit areas for widely separated interfaces like left and right action-bars. |
@asangma agreed. pretty much all the layout components utilize action. another way around this would be to not use actions in tandem with inputs, per the OG issue. use a native button and style accordingly |
This is a breaking change for a bunch of our components. Also, I'd have to figure out how to make the focus states look the same. |
What about adding a size XS for |
Couldn't actions that are slotted in those locations just use scale="l", just a 4px change from current? |
I see two things going on here.
|
Note that 1. is probably the simplest approach though I think 2. should be considered at some point as a separate discussion. And 3. is probably a broader philosophical suggestion toward more flexible componentry. |
With next.261. It was fine with beta.60.
calcite-input
andcalcite-action
have bothscale=s
.Actual Behavior
Expected Behavior
Reproduction Steps or Sample
Relevant Info
Version:
@esri/calcite-components@<version>
The text was updated successfully, but these errors were encountered: