5 Commits

Author SHA1 Message Date
xobotyi
26baf47bac fix(useLockBodyScroll): infer overflow type directly from declaration. 2019-11-02 01:24:06 +03:00
xobotyi
2617d74b8a fix: #550 2019-08-25 07:41:33 +03:00
Ankith Konda
f02b92d423 Add TSLint + Prettier and fix lint issues 2019-04-12 23:18:11 +10:00
streamich
9bb7047b73 feat: 🎸 keep global state of all useLockBodyScroll hooks
This change will keep document body locked as long as at least one hook
is enabled on the page. Maybe it makes sense to generalize this logic
for other side-effect hooks. One such hook could be useBlurBody that
blurs page - useful for modals and overlays.
2019-03-24 17:43:35 +01:00
Ward Oosterlijnck
0754bce76e useLockBodyScroll 2019-03-24 10:27:38 +11:00