Skip to content

[Bug]: Android tablets hide the sidebar while typing even when the screen is wide enough for both #31112

Closed

Description

@orlando-ts

What happens: on a wide tablet in split view, tapping the composer hides the thread sidebar and the navigation rail. Sending brings them back. The chat jumps about 350 px sideways twice per message and gets no wider, because Android caps it at 640 dp.

Why it's wrong: hiding the sidebar only helps on screens where it squeezes the chat, and that depends on screen width. Typing doesn't change the width. The current trigger is "keyboard open", with no width check, so wide tablets lose the sidebar for nothing.

Also: with a hardware keyboard, the keyboard app's small floating toolbar counts as an open keyboard, so this happens even then. #20812 says "A hardware keyboard leaves the layout alone."

Expected: decide by width. If the chat fits beside the sidebar at full reading width, keep the sidebar, typing or not.

Tested locally: I ran a build that keeps the sidebar whenever the chat fits. On this tablet the sidebar stays with the on-screen keyboard and with both hardware keyboards. Narrower split screens, where the sidebar does squeeze the chat, still hide it while typing as they do today. Whether they should hide it all the time is your call.

Where: the collapse condition in apps/mobile/src/features/layout/AdaptiveWorkspaceLayout.tsx has no width check.

Version: Play Store app, and a release build of 2.1.0 (deb79c3), which shows the same bug. Server v0.1.5.

Environment: OnePlus Pad 3 (OPD2415), OxygenOS 16 / Android 16 (16.0.10.600). Keyboards: on-screen, OnePlus Pad 3 keyboard, Samers Bluetooth keyboard.

Activity

  1. added 3 commits that reference this issue on Nov 5, 2026
    b8775d2
    f9c7bdb
    fbb1955
  2. juliusmarminge commented on Nov 10, 2026

    @juliusmarminge
    Member

    Fixed by #33599 in 9318fdbe30: the Android split sidebar stays in place while the keyboard is open, avoiding the width changes while typing. Thank you for the detailed report!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions