    return false;
}

export function useFocusOnFirstFocusable(container: MutableRefObject<HTMLElement | null>) {
    const element = container.current;
    useJustOnceEffect(
        done => {
            const focused = focusOnFirstFocusable(container.current);
            if (focused) {