diff --git a/.all-contributorsrc b/.all-contributorsrc
index 919d6538..093c0859 100644
--- a/.all-contributorsrc
+++ b/.all-contributorsrc
@@ -1663,6 +1663,13 @@
"avatar_url": "https://avatars.githubusercontent.com/u/15759600?v=4",
"profile": "https://github.com/iuriiiurevich",
"contributions": ["bug", "code"]
+ },
+ {
+ "login": "jontewks",
+ "name": "Jon Tewksbury",
+ "avatar_url": "https://avatars.githubusercontent.com/u/3970573?v=4",
+ "profile": "http://tewks.io/",
+ "contributions": ["code", "bug"]
}
],
"contributorsPerLine": 7,
diff --git a/.changeset/plenty-shoes-type.md b/.changeset/plenty-shoes-type.md
new file mode 100644
index 00000000..009fea13
--- /dev/null
+++ b/.changeset/plenty-shoes-type.md
@@ -0,0 +1,5 @@
+---
+"usehooks-ts": patch
+---
+
+Resolve scroll lock issue on ios safari (#509 by @jontewks)
diff --git a/.github/CONTRIBUTING.md b/.github/CONTRIBUTING.md
index 77051b68..afe3660a 100644
--- a/.github/CONTRIBUTING.md
+++ b/.github/CONTRIBUTING.md
@@ -408,6 +408,7 @@ Big thanks go to all our contributors! [[Become a contributor](https://github.co
Manuel 💻 🐛 |
Yurii Rybak 🐛 |
Yury Demin 🐛 💻 |
+ Jon Tewksbury 💻 🐛 |
diff --git a/README.md b/README.md
index 551eb349..57d2ee14 100644
--- a/README.md
+++ b/README.md
@@ -17,7 +17,7 @@
[![License](https://badgen.net/badge/License/MIT/blue)](https://github.com/juliencrn/usehooks-ts/blob/master/LICENSE)
![npm bundle size](https://img.shields.io/bundlephobia/minzip/usehooks-ts)
![npm](https://img.shields.io/npm/v/usehooks-ts)
-[![All Contributors](https://img.shields.io/badge/all_contributors-236-orange.svg?style=flat-square)](#contributors-)
+[![All Contributors](https://img.shields.io/badge/all_contributors-237-orange.svg?style=flat-square)](#contributors-)
@@ -422,6 +422,7 @@ Big thanks go to all our contributors! [[Become a contributor](https://github.co
Manuel 💻 🐛 |
Yurii Rybak 🐛 |
Yury Demin 🐛 💻 |
+ Jon Tewksbury 💻 🐛 |
diff --git a/packages/usehooks-ts/README.md b/packages/usehooks-ts/README.md
index 551eb349..57d2ee14 100644
--- a/packages/usehooks-ts/README.md
+++ b/packages/usehooks-ts/README.md
@@ -17,7 +17,7 @@
[![License](https://badgen.net/badge/License/MIT/blue)](https://github.com/juliencrn/usehooks-ts/blob/master/LICENSE)
![npm bundle size](https://img.shields.io/bundlephobia/minzip/usehooks-ts)
![npm](https://img.shields.io/npm/v/usehooks-ts)
-[![All Contributors](https://img.shields.io/badge/all_contributors-236-orange.svg?style=flat-square)](#contributors-)
+[![All Contributors](https://img.shields.io/badge/all_contributors-237-orange.svg?style=flat-square)](#contributors-)
@@ -422,6 +422,7 @@ Big thanks go to all our contributors! [[Become a contributor](https://github.co
Manuel 💻 🐛 |
Yurii Rybak 🐛 |
Yury Demin 🐛 💻 |
+ Jon Tewksbury 💻 🐛 |
diff --git a/packages/usehooks-ts/src/useScrollLock/useScrollLock.demo.tsx b/packages/usehooks-ts/src/useScrollLock/useScrollLock.demo.tsx
index 5fbe64ab..32099eb1 100644
--- a/packages/usehooks-ts/src/useScrollLock/useScrollLock.demo.tsx
+++ b/packages/usehooks-ts/src/useScrollLock/useScrollLock.demo.tsx
@@ -15,7 +15,7 @@ export function App() {
return (
<>
-