You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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).
As of 2.7.0, react-focus-lock has supported a
focusOptions
prop, primarily for allowing consumers to passpreventScroll
to the initial focus event. react-focus-on unfortunately has not exposed nor is passing that prop directly toreact-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#L49The text was updated successfully, but these errors were encountered: