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
NumberInput rightSectionWidth extends beyond right section and prevents clicking into input in that area #5033
Comments
This happens because rightSectionWidth by default have value equal to the input height, and controls are positioned inside of it. |
Thanks for the reply @7iomka. If we define a custom With rightSectionWidth definedDefault positionining |
I said that rightSectionWidth needed to have default override under the hood by library, not on your side. |
Thanks for your reply @7iomka. Sorry if I'm still not understanding correctly, you're saying this should be considered a bug in Mantine? |
I suppose this is an overlooked issue that can be fixed in the above way by the author of the library |
Fixed in 7.2.1. |
What package has an issue
@mantine/core
Describe the bug
The area just before the
rightSection
cannot be clicked to activate the input in v7. This was not an issue in v5/v6 and it's particularly problematic with small NumberInputs like shown below. TherightSection
's extents are highlighted in red.What version of @mantine/* packages do you have in package.json? (Note that all @mantine/* packages must have the same version in order to work correctly)
7.1.3
If possible, please include a link to a codesandbox with the reproduced problem
It can be reproduced by adjusting the width of the inputs on the demo page https://mantine.dev/core/number-input/
Do you know how to fix the issue
No
Are you willing to participate in fixing this issue and create a pull request with the fix
None
Possible fix
No response
The text was updated successfully, but these errors were encountered: