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

Number Input setSelectionRange Error #6803

Closed
1 of 2 tasks
enchorb opened this issue Sep 11, 2024 · 2 comments
Closed
1 of 2 tasks

Number Input setSelectionRange Error #6803

enchorb opened this issue Sep 11, 2024 · 2 comments
Labels
Needs reproduction Issues without reproduction, closed within a week if the reproduction is not provided

Comments

@enchorb
Copy link

enchorb commented Sep 11, 2024

Dependencies check up

  • I have verified that I use latest version of all @mantine/* packages

What version of @mantine/* packages do you have in package.json?

7.12.2

What package has an issue?

@mantine/core

What framework do you use?

Next.js

In which browsers you can reproduce the issue?

Firefox

Describe the bug

More details along with the fix in this issue: alpinejs/alpine#401

setSelectionRange will throw an exception on a number input

If possible, include a link to a codesandbox with a minimal reproduction

No response

Possible fix

Fix Here: alpinejs/alpine#401

Should be applied to the adjustCursor function in the NumberInput file

Self-service

  • I would be willing to implement a fix for this issue
@rtivital
Copy link
Member

rtivital commented Oct 3, 2024

I do not see how the issue in Alpine is related to NumberInput component, please provide a sandbox that throws error.

@rtivital rtivital added the Needs reproduction Issues without reproduction, closed within a week if the reproduction is not provided label Oct 3, 2024
@rtivital
Copy link
Member

rtivital commented Oct 8, 2024

You are welcome to reopen the issue if you can provide more details.

@rtivital rtivital closed this as completed Oct 8, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Needs reproduction Issues without reproduction, closed within a week if the reproduction is not provided
Projects
None yet
Development

No branches or pull requests

2 participants