You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
With the introduction of tabbing the focusable flag was added to the faces. Setting it to true for some faces affects only tabbing but not makes them focusable by clicking, which IMO is an expected UX from a focusable face.
To reproduce
Run view [field "1" base "2" with [flags: 'focusable] react [print select face/parent/selected 'text]]
Focus field 1 then click base 2
Observe that focus is still in field 1 and no 2 line was printed on console
Expected behavior
I think focusable flag should apply to both common refocusing methods - tabbing and clicking (on-down event).
A tricky thing about focus in general, is that we need some visual affordance to go with it, and we don't always have that. I don't remember if all OSs support e.g. keys for all faces either.
Windows allows to focus even e.g. panel, but on GTK the same trick fails. Another question is what should attempt to focus such a face do, fail silently or fail with an error.
Describe the bug
With the introduction of tabbing the
focusable
flag was added to the faces. Setting it to true for some faces affects only tabbing but not makes them focusable by clicking, which IMO is an expected UX from a focusable face.To reproduce
view [field "1" base "2" with [flags: 'focusable] react [print select face/parent/selected 'text]]
1
then click base2
1
and no2
line was printed on consoleExpected behavior
I think
focusable
flag should apply to both common refocusing methods - tabbing and clicking (on-down event).Platform version
The text was updated successfully, but these errors were encountered: