tailwindcss-safe-area icon indicating copy to clipboard operation
tailwindcss-safe-area copied to clipboard

Views are always scrolling over the end when applying min-h-screen-safe

Open phaberest opened this issue 1 year ago • 2 comments

The min-height: -webkit-fill-available; part of min-h-screen-safe makes the page be scrollable over the end, even if the content is occupying less than half of it.

I'm using a calc instead of the utility class to overcome this issue, but would it make sense to have a class that doesn't imply adding that part?

phaberest avatar Mar 05 '24 22:03 phaberest

Thanks for the report. Where are you experiencing this? Desktop vs mobile & which browser? I don't mind removing WebKit fill or making it its own helper—I've only needed the WebKit fill for PWAs on mobile but haven't experienced any overscroll outside of that

mvllow avatar Mar 08 '24 14:03 mvllow