From 86665cf18d1effe706da8d2d54dd4edbb1fe49c5 Mon Sep 17 00:00:00 2001 From: Yossi Saadi Date: Sun, 8 Sep 2024 18:51:44 +0300 Subject: [PATCH] docs: update recommended scroll lock lib --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index d73dc9c..553787a 100644 --- a/README.md +++ b/README.md @@ -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.