diff --git a/webapp/channels/src/components/advanced_text_editor/send_button/send_post_options/core_menu_options.tsx b/webapp/channels/src/components/advanced_text_editor/send_button/send_post_options/core_menu_options.tsx index 4bd2a99d78..c36126f651 100644 --- a/webapp/channels/src/components/advanced_text_editor/send_button/send_post_options/core_menu_options.tsx +++ b/webapp/channels/src/components/advanced_text_editor/send_button/send_post_options/core_menu_options.tsx @@ -122,6 +122,7 @@ function CoreMenuOptions({handleOnSelect, channelId}: Props) { /> } className='core-menu-options' + autoFocus={true} {...extraProps} /> ); @@ -158,6 +159,7 @@ function CoreMenuOptions({handleOnSelect, channelId}: Props) { /> } className='core-menu-options' + autoFocus={now.weekday === 5 || now.weekday === 6} {...extraProps} /> ); diff --git a/webapp/channels/src/components/drafts/drafts.tsx b/webapp/channels/src/components/drafts/drafts.tsx index 42ce18578d..dde295c903 100644 --- a/webapp/channels/src/components/drafts/drafts.tsx +++ b/webapp/channels/src/components/drafts/drafts.tsx @@ -164,6 +164,7 @@ function Drafts({ title={draftTabHeading} unmountOnExit={false} tabClassName='drafts_tab' + tabIndex={0} > {children} diff --git a/webapp/channels/src/components/tabs/tabs/index.tsx b/webapp/channels/src/components/tabs/tabs/index.tsx index 49fa96d99d..cec1b4c9b0 100644 --- a/webapp/channels/src/components/tabs/tabs/index.tsx +++ b/webapp/channels/src/components/tabs/tabs/index.tsx @@ -35,6 +35,7 @@ export default function Tabs({ onSelect={onSelect} className={classNames('tabs', className)} mountOnEnter={mountOnEnter} + autoFocus={true} > {children}