Skip to content

fix(material/form-field): inconsistent height for non-text inputs #26941

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

Merged
merged 1 commit into from
Apr 19, 2023

Conversation

crisbeto
Copy link
Member

Fixes that some non-text input variants were taller than the text ones.

Fixes #26915.

@crisbeto crisbeto added P3 An issue that is relevant to core functions, but does not impede progress. Important, but not urgent target: patch This PR is targeted for the next patch release labels Apr 16, 2023
Copy link
Member

@devversion devversion left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM, just the location of this code

@@ -20,6 +20,36 @@
border: none;
}

.mat-mdc-form-field-input-control {
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Are we overriding MDC styles here, or overriding native styles? If so, this file/mixin is only for MDC overrides

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

It's overriding user agent styles. Where would the styles go in that case? form-field.scss?

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I thought we already had something, but couldn't find it. Maybe another file? like user-agent-overrides? (whatever you prefer here)

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Done.

@crisbeto crisbeto force-pushed the 26915/form-field-input-types branch from ea70ca6 to 21d39b3 Compare April 17, 2023 12:54
Copy link
Member

@devversion devversion left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM. Just need to update the BUILD file to include the partial

@crisbeto crisbeto force-pushed the 26915/form-field-input-types branch 2 times, most recently from 9fd0bb8 to 8dcdad2 Compare April 18, 2023 11:25
Fixes that some non-text input variants were taller than the text ones.

Fixes angular#26915.
@crisbeto crisbeto force-pushed the 26915/form-field-input-types branch from 8dcdad2 to 3922d70 Compare April 18, 2023 15:21
@crisbeto crisbeto added the action: merge The PR is ready for merge by the caretaker label Apr 19, 2023
@angular-robot angular-robot bot merged commit 298cbaf into angular:main Apr 19, 2023
angular-robot bot pushed a commit that referenced this pull request Apr 19, 2023
…6941)

Fixes that some non-text input variants were taller than the text ones.

Fixes #26915.

(cherry picked from commit 298cbaf)
angular-robot bot pushed a commit that referenced this pull request Apr 19, 2023
…6941)

Fixes that some non-text input variants were taller than the text ones.

Fixes #26915.

(cherry picked from commit 298cbaf)
crapStone pushed a commit to Calciumdibromid/CaBr2 that referenced this pull request Apr 28, 2023
This PR contains the following updates:

| Package | Type | Update | Change |
|---|---|---|---|
| [@angular/cdk](https://github.com/angular/components) | dependencies | patch | [`15.2.6` -> `15.2.8`](https://renovatebot.com/diffs/npm/@angular%2fcdk/15.2.6/15.2.8) |
| [@angular/material](https://github.com/angular/components) | dependencies | patch | [`15.2.6` -> `15.2.8`](https://renovatebot.com/diffs/npm/@angular%2fmaterial/15.2.6/15.2.8) |

---

### Release Notes

<details>
<summary>angular/components</summary>

### [`v15.2.8`](https://github.com/angular/components/blob/HEAD/CHANGELOG.md#&#8203;1528-nickel-nickel-2023-04-19)

[Compare Source](angular/components@15.2.7...15.2.8)

##### material

| Commit | Type | Description |
| -- | -- | -- |
| [af293a124](angular/components@af293a1) | fix | **core:** remove tabindex from mat-option ([#&#8203;26917](angular/components#26917)) |
| [5623a8c8b](angular/components@5623a8c) | fix | **form-field:** inconsistent height for non-text inputs ([#&#8203;26941](angular/components#26941)) |

<!-- CHANGELOG SPLIT MARKER -->

### [`v15.2.7`](https://github.com/angular/components/blob/HEAD/CHANGELOG.md#&#8203;1527-paper-pelican-2023-04-13)

[Compare Source](angular/components@15.2.6...15.2.7)

##### material

| Commit | Type | Description |
| -- | -- | -- |
| [de22cdc72](angular/components@de22cdc) | fix | **table:** correct filterPredicate typo ([#&#8203;26902](angular/components#26902)) |

##### material-luxon-adapter

| Commit | Type | Description |
| -- | -- | -- |
| [6c00403a8](angular/components@6c00403) | fix | zone on DateTime ignored ([#&#8203;26887](angular/components#26887)) |

<!-- CHANGELOG SPLIT MARKER -->

</details>

---

### Configuration

📅 **Schedule**: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined).

🚦 **Automerge**: Disabled by config. Please merge this manually once you are satisfied.

♻ **Rebasing**: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.

🔕 **Ignore**: Close this PR and you won't be reminded about these updates again.

---

 - [x] <!-- rebase-check -->If you want to rebase/retry this PR, check this box

---

This PR has been generated by [Renovate Bot](https://github.com/renovatebot/renovate).
<!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiIzNS40Ni4wIiwidXBkYXRlZEluVmVyIjoiMzUuNjEuMCJ9-->

Co-authored-by: cabr2-bot <cabr2.help@gmail.com>
Reviewed-on: https://codeberg.org/Calciumdibromid/CaBr2/pulls/1865
Reviewed-by: Epsilon_02 <epsilon_02@noreply.codeberg.org>
Co-authored-by: Calciumdibromid Bot <cabr2_bot@noreply.codeberg.org>
Co-committed-by: Calciumdibromid Bot <cabr2_bot@noreply.codeberg.org>
@angular-automatic-lock-bot
Copy link

This issue has been automatically locked due to inactivity.
Please file a new issue if you are encountering a similar or related problem.

Read more about our automatic conversation locking policy.

This action has been performed automatically by a bot.

@angular-automatic-lock-bot angular-automatic-lock-bot bot locked and limited conversation to collaborators Jun 6, 2023
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
action: merge The PR is ready for merge by the caretaker P3 An issue that is relevant to core functions, but does not impede progress. Important, but not urgent target: patch This PR is targeted for the next patch release
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Form field input type number safari
2 participants