isolated-scroll
isolated-scroll copied to clipboard
Only block scroll when element is scrollable
Currently this library always blocks page scroll for a targeted element. I think it'd be a good to have the option to only do this when the targeted element is in a scrollable state (eg. has hit it's overflow boundary).
I feel this would be useful in things like a textarea.