-
Notifications
You must be signed in to change notification settings - Fork 39
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
Key Up/down direction when selecting a GEMSelect item #112
Comments
Hi, @tangiblewaves ! Thank you for using GEM library!
Thank you for bringing this to my attention. I should've thought of this earlier:( Will try to come up with proper solution to this. I do not necessary think that expanding effect of |
I think I got it. I will modify default behavior of spinners for push-button input method (so you won't have to call additional invert methods when using push-buttons as an input device), and make them react to I will include this fix as a part of an upcoming release (hopefully in a couple or so days). |
Should be fixed with the 1.6.1 release. No need to call |
Wow, that went quick! Thanks so much - works great! Additional info: First, I was assuming a changed behaviour to previous GEM versions, but actually I had simply tricked myself - the up/down buttons were mounted horizontally, therefore, the increment/decrement behaviour was not irritating. But in the current project, up/down buttons are above each other, and just by this difference, the behaviour, that the lower button increments values was quite irritating ;-) Only one more question: It works great for spinners now, but not for Selects (as you have announced already); but I consider this still as problematic in certain cases; I'll give an example: The GEMSelect offers a list of numbers plus an entry named "none". So the user expects the same behaviour as with the Spinner (it's mostly numbers), but now, Spinner and Select are behaving differently. I'd say there are cases where GEMSelect values are arbitrary values and the behaviour might not be noticeable, but... I think you get the point ;-) |
I see your point, but I decided not to extend effect of Primary use case for |
Completely agree that a change of invertKeysDuringEdit() would break backward compatibility; makes totally sense not to touch it of course. |
Thanks once again for pointing out this behaviour. Closing issue as resolved. |
First, GEM is simply great! I used it in a few projects successfully.
Today I encountered the following issue: When editing a GEMSelect item, the value is incremented by the Key down button and decremented by Key up; this behaviour is different to I know it. This is the first time I used the version 1.6 ; previous GEM versions seem to work differently here. Was something changed here? Or did I miss something? Same behaviour can be seen with the new GEMSpinner (BTW: Great you introduced it! Definitely worth the space!)
The menu item selection however works as expected (Key up goes up in the menu).
I tried invertKeysDuringEdit(), but without success.
Any help would be highly appreciated, thanks!
The text was updated successfully, but these errors were encountered: