Slightly better mobile support

I use a phone a lot. Good thing Glitch somewhat works on mobile!

  1. Add some physical undo, redo, find, replace and multi-select buttons. Had to rewind a whole project when I was editing it on mobile because I couldn’t just undo things natively lol
  2. Put the preview pane at the bottom if the window ratio is portrait
  3. Fix a thing where the editor disconnects without saying anything about it if you leave the tab or browser app, so you write a lot of text only to later realise that none of it has been saving, and you either copy every part you changed and refresh the editor and paste it all back in, or get disappointed
    (I used mostly Brave and maybe Safari on iOS)
  4. Make the text arbitrarily zoomable by itself if text wrap is disabled (so you can easily navigate things like large code)

I have a keyboard with control keys on my phone, so I can use undo/redo, but they’re hopelessly broken on mobile! (it does a funny thing where it appears to just delete big chunks of text, but it hasn’t actually, so you get some very weird behaviour)

This is a really good callout. I’ve found myself correcting copy typos on my phone and ran into some of these limitations.

2 Likes