Open mfulton26 opened 3 years ago
I also noticed this today, I also checked on my iPad because being practical, I am not planning on creating any state machines whilst on my phone however an iPad is a real possibility. The reason I was checking on my mobile though was to simple share a link with someone and I noticed the display wasn't mobile friendly.
Whilst this isn't an enhancement for using the visualiser to develop a state machine it could be nice for someone simply wanted to read through / have a play on a mobile and or small device than a typical desktop size.
see attached for a small chrome window on a laptop.
Description
We live in a world with many smaller screens with no keyboards nor nice but the visualizer doesn't appear to be designed to support mobile screens, panning didn't work for me via swipe gesture, etc.
Expected Result
Visualizer loads with content vertically stacked or something that works well on a mobile screen. The visual area can be panned around via swipe gestures, etc.
Actual Result
Content items overlay one another. Swiping does not work. Machine code editor also doesn't work great without a keyboard.
Reproduction
https://stately.ai/viz
Additional context
I know it might seem like mobile support might not be needed but in my experience some software engineers and others are easily persuaded to not use a tool wherever they have a poor experience with its tooling, etc. and I don't want to see folks not adopt XState for the wrong reasons. Thank you.