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

[BUG] - NumberInput's arrow always decrease value with outside label #4920

Open
simPod opened this issue Feb 24, 2025 · 2 comments
Open

[BUG] - NumberInput's arrow always decrease value with outside label #4920

simPod opened this issue Feb 24, 2025 · 2 comments

Comments

@simPod
Copy link
Contributor

simPod commented Feb 24, 2025

HeroUI Version

2.7.2

Describe the bug

Having labelPlacement=outside makes NumberInput always decrease value when clicked on arrow

Your Example Website or App

No response

Steps to Reproduce the Bug or Issue

  • Have label outside
  • click on "increase" arrow

Expected behavior

Arrow up increases value, down decreases value.

Screenshots or Videos

Screen.Recording.2025-02-24.at.13.37.36.mov

Operating System Version

macos

Browser

Chrome

Copy link

linear bot commented Feb 24, 2025

@simPod
Copy link
Contributor Author

simPod commented Feb 24, 2025

If you click slightly above "increase" arrow, it works. I guess the clickzone is somehow vertically shifter and the "decrease" arrow's zone overlaps "increase" arrow.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant