feat: improve change editor menu keyboard navigation (#831)
This commit is contained in:
@@ -6,6 +6,10 @@ import { SNNote } from '@standardnotes/snjs';
|
||||
import { observer } from 'mobx-react-lite';
|
||||
import { FunctionComponent } from 'preact';
|
||||
import { NotesListItem } from './NotesListItem';
|
||||
import {
|
||||
FOCUSABLE_BUT_NOT_TABBABLE,
|
||||
NOTES_LIST_SCROLL_THRESHOLD,
|
||||
} from '@/views/constants';
|
||||
|
||||
type Props = {
|
||||
application: WebApplication;
|
||||
@@ -16,9 +20,6 @@ type Props = {
|
||||
paginate: () => void;
|
||||
};
|
||||
|
||||
const FOCUSABLE_BUT_NOT_TABBABLE = -1;
|
||||
const NOTES_LIST_SCROLL_THRESHOLD = 200;
|
||||
|
||||
export const NotesList: FunctionComponent<Props> = observer(
|
||||
({
|
||||
application,
|
||||
|
||||
Reference in New Issue
Block a user