1
0
mirror of https://github.com/laurent22/joplin.git synced 2025-11-29 22:48:10 +02:00

Mobile: Accessibility: Improve focus handling in the note actions menu and modal dialogs (#11929)

This commit is contained in:
Henry Heino
2025-03-08 03:53:06 -08:00
committed by GitHub
parent 0430ccb3e7
commit 1aa0f11670
20 changed files with 573 additions and 126 deletions

View File

@@ -4,6 +4,7 @@ import { MenuProvider } from 'react-native-popup-menu';
import { Provider } from 'react-redux';
import { Store } from 'redux';
import { AppState } from '../../utils/types';
import FocusControl from '../accessibility/FocusControl/FocusControl';
interface Props {
store: Store<AppState>;
@@ -12,11 +13,13 @@ interface Props {
const TestProviderStack: React.FC<Props> = props => {
return <Provider store={props.store}>
<MenuProvider>
<PaperProvider>
{props.children}
</PaperProvider>
</MenuProvider>
<FocusControl.Provider>
<MenuProvider>
<PaperProvider>
{props.children}
</PaperProvider>
</MenuProvider>
</FocusControl.Provider>
</Provider>;
};