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

Can't edit NumberInput using keyboard #299

Closed
ales-tsurko opened this issue Oct 26, 2024 · 6 comments
Closed

Can't edit NumberInput using keyboard #299

ales-tsurko opened this issue Oct 26, 2024 · 6 comments

Comments

@ales-tsurko
Copy link

I can select the text, can move the cursor, and can add the numbers after the coma, but can't remove or edit the value further.

On the screenshot, for example, I entered a float number, by adding the dot and number after it. But then I can't remove it using the delete/backspace button.

Screenshot 2024-10-26 at 23 50 12
@genusistimelord
Copy link
Collaborator

genusistimelord commented Nov 18, 2024

were you doing this from a Mac?

@ales-tsurko
Copy link
Author

Why did you close it?

@genusistimelord
Copy link
Collaborator

you never replied back. Also I did make some changes in Main to allow entering the Decimal and - without the need for Text. I can reopen it if it is still an issue within the main branch.

@ales-tsurko
Copy link
Author

you never replied back. Also I did make some changes in Main to allow entering the Decimal and - without the need for Text. I can reopen it if it is still an issue within the main branch.

Just tested it and now I can edit the number as described. But now it’s sometimes impossible to enter dot/comma. For example, if you run the example for the number input, try to enter three digit and then type dot/comma. Or sometimes it happens with a single digit. In overall, you can now edit a float after it entered, but it has issues entering it.

For your question about where I’m running it: it’s the latest macOS and the number input example.

@genusistimelord
Copy link
Collaborator

yeah I am trying to solve this issue right now with the enter issue. It has to do with Text Versus the Value not wanting to accept each other and keep the .

@genusistimelord
Copy link
Collaborator

that seems to be the one thing I can not figure out the best way to Fix ATM. the reason seems to be when the Value is converted to a String if its a 0.0 or a 1.0 it somehow becomes a 1 or 0 as it gets rid of the .0. Not sure how to Deal with this atm.

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

2 participants