-
Notifications
You must be signed in to change notification settings - Fork 6
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
Create EditableNumberDisplay
#678
Comments
Meeting 4/6/24
|
The scenery issue to add native text/number input support is phetsims/scenery#670. |
I recommend against adding anything new to NumberDisplay -- or building a new subclass on top of it! See #828 (Next-generation version of NumberDisplay is needed). |
Righto, we are also talking about the need to not hard code this solution to the current NumberDisplay. |
For this issue, we want it to focus our "workaround", which is the number display + keypad common code component (currently used in Fourier and MSS). See phetsims/scenery#670 for actual keyboard support for typing in numbers for the NumberDisplay. |
EditableNumberDisplay
In Fourier, I added sim-specific support to NumberDisplay, to open a Keypad that can be used to enter a specific amplitude value. In phetsims/fourier-making-waves#53, we decided NOT to support Alternative Input for these NumberDisplays. This resulted in a general discussion about input support for NumberDisplay. It sounds like having a optional input (with Keypad?) for NumberDisplay could be generally useful.
Here are the relevant comments from phetsims/fourier-making-waves#53:
In phetsims/fourier-making-waves#53 (comment), @terracoda said:
I replied:
And a bit later, I added:
The text was updated successfully, but these errors were encountered: