Overlay: only prevent focus on open when component is open #27368
Annotations
3 errors
|
Lint JavaScript:
packages/react/src/hooks/useOpenAndCloseFocus.ts#L37
The ref value 'returnFocusRef.current' will likely have changed by the time this effect cleanup function runs. If this ref points to a node rendered by React, copy 'returnFocusRef.current' to a variable inside the effect, and use that variable in the cleanup function
|
Lint JavaScript
Process completed with exit code 1.
|
Loading