pkg-size.dev icon indicating copy to clipboard operation
pkg-size.dev copied to clipboard

iOS mobile view

Open jantimon opened this issue 1 year ago • 3 comments

in iOS on mobile elements overlap - for example the percentage:

image

jantimon avatar Jul 28 '23 01:07 jantimon

It's designed primarily as a desktop app, and I was thinking I wouldn't mind adding mobile support later... But these days I'm debating whether to block mobile entirely or add a warning.

I'm thinking most people would decide not to do a npm install on their mobile browser if they knew it could potentially download +50MBs of packages (especially if over data).

There's also a memory usage concern:

  • Android: beta support for Chrome, Chromium-based browsers and Firefox. Depending on your device, large projects may run into memory limitations.
  • iOS and iPadOS: beta support for Safari since iOS 16.4. Large projects may run into memory limitations because the memory usage for a web page on a mobile device is more constrained. In this case, we recommend switching to a Desktop browser that is less constrained and has more memory.

https://developer.stackblitz.com/platform/webcontainers/browser-support#mobile-browsers

privatenumber avatar Jul 28 '23 03:07 privatenumber

Although mobile view does not make sense for the user base, but it's harmless to show a pop up that signifies Best experience in landscape mode

realityzero avatar Aug 17 '23 18:08 realityzero

Yes, I plan on adding a warning modal soon.

privatenumber avatar Aug 17 '23 18:08 privatenumber