-
Notifications
You must be signed in to change notification settings - Fork 217
Fix unable to select items in a multi-picklist #953 #1001
Conversation
app/src/common/shared/org/mozilla/vrbrowser/browser/SessionStore.java
Outdated
Show resolved
Hide resolved
app/src/common/shared/org/mozilla/vrbrowser/input/MotionEventGenerator.java
Outdated
Show resolved
Hide resolved
Test case to use (the third field down): |
app/src/common/shared/org/mozilla/vrbrowser/ui/widgets/prompts/ChoicePromptWidget.java
Outdated
Show resolved
Hide resolved
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
👍 Nice work, @MortimerGoro. This fixes the original issue. There are a few items I wanted to still address.
I noticed a few inconsistencies and bugs, primarily an issue with the <option>
s not being properly highlighted upon being checked (selected
) in a <select multiple>
field. If this is a GeckoView issue, let's file there.
In FxR, in a rendered <select multiple>
on the page, when any values (e.g., the first two values) are selected, the rows are not properly highlighted as they are in Firefox for desktop:
Notice that in FxR only the first row is ever "highlighted" (with the faint-blue focus ring):
Compare with Oculus Browser:
-
Load
<select multiple>
test on https://webxr.sh/dropdowns#multiple. -
Notice the default text will read
Cherry
(but if you modify the value and then reload the page, it will continue to read2 Selected
).
- In Oculus Browser, Firefox Reality, and Firefox for desktop, scroll to https://webxr.sh/dropdowns#multiple.
- Press the
<select multiple>
field, and press the rows such that four items are selected. - Press the checkmark icon to submit the changes.
- Notice the text changes from
-- Please choose one or more --
to4 Selected
.
In Oculus Browser:
in FxR:
vs. in Firefox for desktop:
also, I filed #1007 for an issue I noticed with <option disabled>
(example):
@cvan trying to roll a release. Any additional issues can be handled in follow up. |
I can consistently reproduce on Oculus Go and Pico G2 (WaveVR) the highlight issue with I can also consistently reproduce (#1007 (comment)) the bug with the hidden text in |
No description provided.