3 Commits

Author SHA1 Message Date
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