[MM-61627]: Fix focus order in sidebar (#29743)
Этот коммит содержится в:
коммит произвёл
GitHub
родитель
77ab7b92c6
Коммит
57f13549d7
@@ -108,6 +108,7 @@ export default class SidebarCategory extends React.PureComponent<Props, State> {
|
||||
|
||||
handleA11yKeyDown = (e: KeyboardEvent<HTMLButtonElement>['nativeEvent']) => {
|
||||
if (isKeyPressed(e, Constants.KeyCodes.ENTER)) {
|
||||
e.preventDefault();
|
||||
this.handleCollapse();
|
||||
}
|
||||
};
|
||||
|
||||
@@ -71,6 +71,7 @@ export const SidebarCategoryHeader = React.forwardRef((props: Props, ref?: React
|
||||
<div
|
||||
className='SidebarChannelGroupHeader_text'
|
||||
{...dragHandleProps}
|
||||
tabIndex={-1}
|
||||
>
|
||||
{wrapEmojis(props.displayName)}
|
||||
</div>
|
||||
|
||||
Ссылка в новой задаче
Block a user