marimo icon indicating copy to clipboard operation
marimo copied to clipboard

Mobile layout, full width, and hamburger menu issues

Open kai-mana opened this issue 1 year ago • 2 comments

Describe the bug

A few things I've noticed when using marimo on mobile:

The hamburger/settings buttons overlap the title sometimes. Tapping the hamburger menu doesn't keep it open, you have to long-press on it to get it to stay open when you lift your finger.

With full width off in portrait, the block is cut off to the right, but is roughly the full width of the screen: image

When you fill the block with text, it scrolls the page to the right, but you cannot manually scroll right/left: image

With full width on in portrait, the block gets tiny: image

In landscape, full width on/off makes essentially no difference: Screenshot_20231104_142110_Firefox Screenshot_20231104_142132_Firefox

These are from Firefox, but the same behavior happens in Chrome, other than the hamburger menu long press issue.

Version

0.1.43

Code to reproduce

No response

kai-mana avatar Nov 04 '23 21:11 kai-mana

@kai-mana, thanks so much for documenting these issues thoroughly. It's very helpful.

Out of curiosity, were you using marimo on mobile just to test its responsive behavior, or were you trying to actually do work on mobile? As you can tell we haven't optimized the editing experience on mobile — if you and others are actually trying to do work on mobile, we may prioritize it higher. Thanks!

akshayka avatar Nov 05 '23 17:11 akshayka

@akshayka I don't think it should be very high priority, but it is pretty useful for real work on mobile, especially as folding phones get more popular and processors get more suited for these kind of tasks. And it's potentially very useful to serve content to mobile devices with marimo even if it's just to view it. And marimo runs pretty well in Termux.

kai-mana avatar Nov 05 '23 19:11 kai-mana

Going to close this - mobile run mode works and the layouting is not fixed of smaller screens. (however, edit mode is not very easy still)

mscolnick avatar Jul 01 '24 17:07 mscolnick