theKashey / react-focus-lock

It is a trap! A lock for a Focus. 🔓
MIT License
1.27k stars 67 forks source link

The `Container` will override the onFocus and onBlur prop passed in by the user #189

Closed gavinxgu closed 1 year ago

gavinxgu commented 2 years ago

Should call user's onFocus first and then call FocusLock onFocus https://github.com/theKashey/react-focus-lock/blob/cffa0d98f2b89e31c7bf007c4b16624bd748a146/src/Lock.js#L163

gavinxgu commented 2 years ago

https://github.com/theKashey/react-focus-lock/pull/190

stale[bot] commented 1 year ago

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.