react-focus-lock icon indicating copy to clipboard operation
react-focus-lock copied to clipboard

Typo in readme

Open richsoni-spotify opened this issue 1 year ago • 3 comments
trafficstars

whiteList=fn you could whitelist locations FocusLock should carry about. Everything outside it will ignore. For example - any modals.

Should read "care" about

richsoni-spotify avatar May 01 '24 00:05 richsoni-spotify

Two more:

In some cases the original node that was focused before the lock was activated is not the desired node to return focus to. Some times this node might not exists at all.

should be "might not exist"

first of all, FocusLock need a moment to record this node, please do not hide it onClick, but hide onBlur (Dropdown, looking at you)

should be "FocusLock needs a moment"

richsoni-spotify avatar May 01 '24 01:05 richsoni-spotify

Another:

second, you may specify a callback as returnFocus, letting you decide where to return focus to.

"Specify callback to returnFocus"

richsoni-spotify avatar May 01 '24 01:05 richsoni-spotify

This issue has been marked as "stale" because there has been no activity for 2 months. If you have any new information or would like to continue the discussion, please feel free to do so. If this issue got buried among other tasks, maybe this message will reignite the conversation. Otherwise, this issue will be closed in 7 days. Thank you for your contributions so far.

stale[bot] avatar Aug 23 '24 03:08 stale[bot]