File tree Expand file tree Collapse file tree 1 file changed +11
-0
lines changed
packages/scratch-gui/src/components/gui Expand file tree Collapse file tree 1 file changed +11
-0
lines changed Original file line number Diff line number Diff line change @@ -294,6 +294,17 @@ const GUIComponent = props => {
294294 selectedTabClassName = { tabClassNames . tabSelected }
295295 selectedTabPanelClassName = { tabClassNames . tabPanelSelected }
296296 onSelect = { onActivateTab }
297+
298+ // TODO: focusTabOnClick should be true for accessibility, but currently conflicts
299+ // with nudge operations in the paint editor. We'll likely need to manage focus
300+ // differently within the paint editor before we can turn this back on.
301+ // Repro steps:
302+ // 1. Click the Costumes tab
303+ // 2. Select something in the paint editor (say, the cat's face)
304+ // 3. Press the left or right arrow key
305+ // Desired behavior: the face should nudge left or right
306+ // Actual behavior: the Code or Sounds tab is now focused
307+ focusTabOnClick = { false }
297308 >
298309 < TabList className = { tabClassNames . tabList } >
299310 < Tab className = { tabClassNames . tab } >
You can’t perform that action at this time.
0 commit comments