()
| 834 | |
| 835 | it('should be able to tab inside a focus scope that contains', async () => { |
| 836 | const MyMenu = () => { |
| 837 | let {contains} = useFilter({sensitivity: 'base'}); |
| 838 | |
| 839 | return ( |
| 840 | <DialogTrigger> |
| 841 | <Button aria-label="Menu">☰</Button> |
| 842 | <Popover> |
| 843 | <Dialog> |
| 844 | <Button>First</Button> |
| 845 | <Button>Second</Button> |
| 846 | <Autocomplete filter={contains}> |
| 847 | <TextField autoFocus aria-label="Search"> |
| 848 | <Input /> |
| 849 | </TextField> |
| 850 | <Menu> |
| 851 | <MenuItem>Open</MenuItem> |
| 852 | <MenuItem>Rename…</MenuItem> |
| 853 | <MenuItem>Duplicate</MenuItem> |
| 854 | </Menu> |
| 855 | </Autocomplete> |
| 856 | </Dialog> |
| 857 | </Popover> |
| 858 | </DialogTrigger> |
| 859 | ); |
| 860 | }; |
| 861 | |
| 862 | function App() { |
| 863 | return ( |
nothing calls this directly
no test coverage detected