-
Notifications
You must be signed in to change notification settings - Fork 8
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
autofill still occurs with invisible dropper #178
Comments
I don't see anything in the Client Guide that asks to be able to hide the dropper. So the easy solution to this is to make The more involved solution is to autofill only if the dropper is visible. Autofill is handled in the model, so this would require adding a new phet-io-only Property, @arouinfar how do you want to proceed? |
Nice find @KatieWoe.
That sounds like a perfect solution to me @pixelzoom. Let's do it. I don't think we need to complicate things with the |
|
To verify in the next RC:
|
Instead of it being read-only, it does not even seem to exist on Chromebook. Not sure if this is intended or not. |
As far as Windows Chrome and Firefox go, I can see both phScale.microScreen.view.dropperNode.visibleProperty & phScale.macroScreen.view.dropperNode.visibleProperty as read only, so it seems fixed to me |
|
@brooklynlash said:
@brooklynlash Did you have "PhET-iO Elements" set to "All" or "Features"? This is not a featured element, so you'll need to select the "All" radio button, as shown in the screenshot below. Please verify whether that fixes the problem. And apologies that this was not specified in the instructions in #178 (comment), I've updated them. |
Yes, my mistake again. I see it now, thank you. |
Excellent, thanks @brooklynlash. Closing. |
@kathy-phet saw this issue and messaged me on Slack:
I hadn't previously thought of this use case, but @kathy-phet makes a good point. Hiding the dropper would be useful in a lesson focused on dilution. I would recommend that we revert this change and make This means that autofill will occur through an invisible dropper, so we should decide what (if anything) to do. Some options include: I would be fine with any of these options. @pixelzoom what would you recommend? |
(1) requires no work. (2) is significantly easier than (3). Let me know how you want to proceed. |
@pixelzoom let's proceed with (2). It prevents us from telling users, "if you do X, you also have to do Y". |
@arouinfar Question: In ph-scale-basics, the default is Or should the autofill setting be ignored when the dropper is made invisible, and always autofill? This seems a little more complicated to describe, and potentially confusing. Either way, something about this probably needs to be added to the Client Guide for ph-scale and ph-scale-basics. Something like "if you make the dropper invisible, then be sure to enable autofill". |
In the above commit, I added @arouinfar and I discussed #178 (comment) via Zoom, and agreed that ignoring autofill setting could be confusing. So @arouinfar will add appropriate info to the Client Guides for ph-scale and ph-scale-basics, indicating that autofill should be enabled if you're going to hide the dropper. |
@pixelzoom the behavior looks good in master. I've edited the client guides in the above commits, so closing. |
Test Device
Windows 10 Laptop
Operating System
Windows 10 v.1903
Browser
Chrome Version 84.0.4147.89
Problem Description
For phetsims/qa#515 & phetsims/qa#514
When the query parameter autoFill is set to true and the dropper is no longer visible via Studio, the filling animation still occurs as if the dropper was visible.
Visuals
The text was updated successfully, but these errors were encountered: