# Such a tiny window to edit here on a cell phone

**URL:** https://meta.discourse.org/t/such-a-tiny-window-to-edit-here-on-a-cell-phone/255225
**Category:** UX
**Tags:** composer
**Created:** [February 15, 2023, 11:32am UTC](https://meta.discourse.org/t/such-a-tiny-window-to-edit-here-on-a-cell-phone/255225 "2023-02-15T11:32:23Z")
**Posts on this page:** 1
**Showing post:** 36

<div class="post-metadata">

### Author: ![Arkshine](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/arkshine/32/298682_2.png) [@Arkshine](https://meta.discourse.org/u/Arkshine)
#### Post date: [December 17, 2023, 1:06pm UTC](https://meta.discourse.org/t/such-a-tiny-window-to-edit-here-on-a-cell-phone/255225/36 "2023-12-17T13:06:43Z")

</div>

> [@New topic’s edit area is small for mobile user](https://meta.discourse.org/t/new-topic-s-edit-area-is-small-for-mobile-user/288929/11):
>
> Where is that needed? Tapping the hamburger does it natively — on iPhones anyway.

To answer from [the previous topic](https://meta.discourse.org/t/new-topic-s-edit-area-is-small-for-mobile-user/288929/11). Yt.w wanted to disable the toolbar _by default_ on certain conditions because:

> [@New topic’s edit area is small for mobile user](https://meta.discourse.org/t/new-topic-s-edit-area-is-small-for-mobile-user/288929/8):
>
> but not every new user know it. that makes it can be a UX issue.

I figured out I could try to make some code for that. This is just an immediate band-aid solution.  
Actually, in Discourse by default, anything below 370 window width or, if an Android, the toolbar is hidden.

```js
const storedVal = keyValueStore.get("toolbar-enabled");
if (this._toolbarEnabled === undefined && storedVal === undefined) {
  // iPhone 6 is 375, anything narrower and toolbar should
  // be default disabled.
  // That said we should remember the state
  this._toolbarEnabled =
    window.innerWidth > 370 && !this.capabilities.isAndroid;
}

```

My code would be just an extension to generalize this behavior to any mobile view.

I agree with you; another approach would be to educate the user in some ways that the burger icon toggles the toolbar!

---

_[View the full topic](https://meta.discourse.org/t/such-a-tiny-window-to-edit-here-on-a-cell-phone/255225)._
