Skip to content

Commit

Permalink
Merge pull request #329 from YossiSaadi/master
Browse files Browse the repository at this point in the history
docs: update recommended scroll lock lib
  • Loading branch information
theKashey authored Sep 9, 2024
2 parents 5dab242 + 86665cf commit 1ce25bc
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -422,7 +422,7 @@ Uses [focus-lock](https://github.com/theKashey/focus-lock/) under the hood. It d
# More
To create a "right" modal dialog you have to:
- manage a focus. Use this library
- block document scroll. Use [react-scroll-locky](https://github.com/theKashey/react-scroll-locky).
- block document scroll. Use [react-remove-scroll](https://github.com/theKashey/react-remove-scroll).
- hide everything else from screen readers. Use [aria-hidden](https://github.com/theKashey/aria-hidden)
You may use [react-focus-on](https://github.com/theKashey/react-focus-on) to achieve everything above, assembled in the right order.
Expand Down

0 comments on commit 1ce25bc

Please sign in to comment.