Skip to content
Source
Sign inSign up
pingdotgg/t3code

[Bug]: Opening a thread on iPad focuses the composer and reduces the page height by 71px #29469

Closedyannsunn(GitHub profile, opens in a new tab) opened this issue 0 comments

Before submitting

  • I searched existing issues and did not find a duplicate.
  • I included enough detail to reproduce or investigate the problem.

Area

apps/web

Steps to reproduce

  1. Open the T3 Code web client in Chrome on an iPad, in landscape.
  2. Open any thread that has messages.
  3. Do not tap anything.

Expected behavior

The page keeps its full height after a thread opens. The iPad keyboard bar appears only after the composer is tapped.

Actual behavior

The composer receives focus automatically. iPadOS then reduces the page height by 71px on the thread, and the bottom safe-area inset drops to 0.

Measured on the same thread through Web Inspector:

Statedocument.activeElementinnerHeightenv(safe-area-inset-bottom)Composer bottomSpace below composer
After opening the thread.composer-tiptap611px0px591px20px
After calling blur()body682px20px642px40px

Impact

Every opened thread loses 71px of height until the composer is blurred. In landscape, the area below the composer feels like wasted space.

Version or commit

0.1.6

Environment

  • iPad Air (5th generation), iPadOS 27.2, landscape
  • Chrome for iOS 156, browser tab (not installed as a web app)
  • Server on Linux, reached over HTTPS

Logs or stack traces

No errors. The values above were read from the page through Web Inspector.

Workaround

Tap outside the composer after opening a thread.

  1. tanstack-source added labelsbug

  2. juliusmarminge closed this

Sign in to join this conversation.