Skip to content
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

Block text field and number field change height on hover #2405

Open
mollykreis opened this issue Sep 23, 2024 · 0 comments
Open

Block text field and number field change height on hover #2405

mollykreis opened this issue Sep 23, 2024 · 0 comments
Labels
bug Something isn't working

Comments

@mollykreis
Copy link
Contributor

🐛 Bug Report

The nimble-text-field and the nimble-number-field both change height when they are hovered while in block appearance.

💻 Repro or Code Sample

The issue is easiest to see on the storybook docs page for either component. For example:

  1. Go to the number field docs page in storybook
  2. Change the appearance to block
  3. Hover over the control
  4. Notice the height of the component changes when the component is hovered/unhovered

BlockFieldHover

🤔 Expected Behavior

The component's height shouldn't change when hovered.

😯 Current Behavior

Both components get 1px shorter when hovered while having the block appearance.

💁 Possible Solution

🔦 Context

🌍 Your Environment

  • OS & Device: [e.g. MacOS, iOS, Windows, Linux] on [iPhone 7, PC]
  • Browser [e.g. Microsoft Edge, Google Chrome, Apple Safari, Mozilla FireFox]
  • Version [e.g. 1.8.0]
@mollykreis mollykreis added bug Something isn't working triage New issue that needs to be reviewed labels Sep 23, 2024
@m-akinc m-akinc removed the triage New issue that needs to be reviewed label Oct 1, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
Status: Defined/Ready to Pickup
Development

No branches or pull requests

2 participants