Closed Nancy-Salpepi closed 8 months ago
Thanks for finding this @Nancy-Salpepi. I am able to produce this on my Mac as well. Its happening in main but not a (semi) recent dev version of greenhouse-effect (https://phet-dev.colorado.edu/html/greenhouse-effect/1.3.0-dev.4/phet/greenhouse-effect_all_phet.html) so this was likely introduced recently.
I tracked down that this was introduced by https://github.com/phetsims/scenery/issues/1606.
This blocks publication for sims that support alt input and have a ComboBox.
The previous workaround for https://github.com/phetsims/scenery/issues/1606 would force a reflow by updating display
, but that also made components non-focusable for an animation frame. That is buggy for cases like this where you synchronously call
node.pdomVisible = true;
node.focus()
A new workaround forces a reflow by temporarily setting the transform
instead. I confirmed that this fixes the problem in Safari. I hope that https://github.com/phetsims/scenery/issues/1606 is still fixed but I am not certain.
@Nancy-Salpepi can you please test to make sure that this issue is fixed and that https://github.com/phetsims/scenery/issues/1606 is still fixed as well?
Also, I scanned through QA issues and did not see any new RCs published after Feb 21 that support alt input. That means we shouldn't have to patch this fix into anything. @Nancy-Salpepi does that sound right to you?
@Nancy-Salpepi can you please test to make sure that this issue is fixed and that https://github.com/phetsims/scenery/issues/1606 is still fixed as well?
This issue is fixed on main and the VO issue still sounds good to me!
Also, I scanned through QA issues and did not see any new RCs published after Feb 21 that support alt input. That means we shouldn't have to patch this fix into anything. @Nancy-Salpepi does that sound right to you?
Yes. That is correct.
I'm going to go ahead and close this. Thanks for getting to this issue so fast @jessegreenberg!
Test device MacBook Air M1 chip
Operating System 14.3.1
Browser Safari 17.3.1
Problem description First seen while testing https://github.com/phetsims/qa/issues/1060 and ONLY with safari: I am unable move through items in a combobox with keyboard navigation. The large rectangle that usually appears around the listbox isn't there and I can't arrow through the items. I also saw this on main with Kepler's Laws and MSS. Things work fine on published.
Steps to reproduce Here is an example:
Visuals It looks like this after pressing Space/Enter:
On published it looks correct: