UX: Full height composer on mobile Android (PR #12709)

More room for the composer (and parity with what we do on iOS).

GitHub

This is incompatible with removeEventListener in willDestroyElement.

You’ll have to save the bound function (this._boundViewportResize = this.viewportResize.bind(this)) and use it in both addEventListener and removeEventListener.

Better yet, we have @bind decorator (import { bind } from "discourse-common/utils/decorators") to bind functions like viewportResize.

1 Like

Cool, I didn’t know we had that decorator.

I always forget we have it, and apparently I’m the one who added it! :joy: