-
Notifications
You must be signed in to change notification settings - Fork 17
Closed
Description
As of 2.7.0, react-focus-lock has supported a focusOptions
prop, primarily for allowing consumers to pass preventScroll
to the initial focus event. react-focus-on unfortunately has not exposed nor is passing that prop directly to react-focus-lock
, which potentially leads to scroll jumping issues that cannot be overridden (see theKashey/react-focus-lock#162 for more info).
It should be relatively trivial to pull focusOptions
from props and pass it directly to <ReactFocusLock>
here: https://github.com/theKashey/react-focus-on/blob/master/src/UI.tsx#L49
Metadata
Metadata
Assignees
Labels
No labels