-
Notifications
You must be signed in to change notification settings - Fork 7
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
Clicking on listbox may activate dropper #85
Comments
I add a no-op listener to the listbox to prevent event from going through it. @KatieWoe please verify in master. Assign back to me so that I can create branch "ph-scale-1.3" for sun and patch it there. |
Still seems to happen on master |
Hmnmm, sorry about that @KatieWoe, I must've been hallucinating. Previous commit reverted. |
This is a problem in the RC (and master) but not in the published version. Similar to #86, this may be due to the new |
The input listener that dismisses the listbox is in // @private Clicking anywhere other than the button or list box will hide the list box.
this.clickToDismissListener = {
down: event => {
// Ignore if we click over the button, since the button will handle hiding the list.
if ( !( event.trail.containsNode( this.button ) || event.trail.containsNode( this.listBox ) ) ) {
this.hideListBox();
}
}
}; |
If the combo box background should block clicks, presumably it should have pickable:true? |
@jonathanolson do you mean the listbox background should have |
Ahh interesting, it looks like Panel has an option Adding |
Seems like ComboBoxListBox should have @KatieWoe please verify, then assign back to me. Note to self: I'll need to pick up this change in a "ph-scale-1.3" branch of sun. |
Looks good on master |
Next step is to pick up phetsims/sun@35f7845 in a "ph-scale-1.3" branch of sun. |
Patched in "ph-scale-1.3" branch of sun, ready to test in upcoming 1.3.0-rc.2. |
Talked with @jonathanolson. I should also create and patch "ph-scale-basics-1.3" branch for sun. |
Manually patched in "ph-scale-basics-1.3" branch of sun. |
Verified by QA in phetsims/qa#374 and phetsims/qa#374. Closing. |
Test device:
Dell
Operating System:
Win 10 (or other)
Browser:
Chrome (or other)
Problem description:
For phetsims/qa#323 and phetsims/qa#326.
Likely minor. Not in published version. It is possible to activate the dropper button when you are actually clicking on part of the dropdown menu that selects chemicals.
Steps to reproduce:
Screenshots:
Troubleshooting information (do not edit):
Name: pH Scale: Basics
URL: https://phet-dev.colorado.edu/html/ph-scale-basics/1.3.0-rc.1/phet/ph-scale-basics_all_phet.html
Version: 1.3.0-rc.1 2019-05-24 13:37:56 UTC
Features missing: touch
Flags: pixelRatioScaling
User Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/74.0.3729.169 Safari/537.36
Language: en-US
Window: 1536x722
Pixel Ratio: 2.5/1
WebGL: WebGL 1.0 (OpenGL ES 2.0 Chromium)
GLSL: WebGL GLSL ES 1.0 (OpenGL ES GLSL ES 1.0 Chromium)
Vendor: WebKit (WebKit WebGL)
Vertex: attribs: 16 varying: 30 uniform: 4096
Texture: size: 16384 imageUnits: 16 (vertex: 16, combined: 32)
Max viewport: 16384x16384
OES_texture_float: true
Dependencies JSON: {}
The text was updated successfully, but these errors were encountered: