Rocket.Chat.ReactNative icon indicating copy to clipboard operation
Rocket.Chat.ReactNative copied to clipboard

bug: Two-factor dialog misaligned on tablet/iPad screens

Open deepak0x opened this issue 1 month ago • 0 comments

Describe the Bug

Two-factor authentication modal renders shifted upward on tablet/iPad layouts (screenshot attached).

Steps to Reproduce

Open the Rocket.Chat mobile app on an iPad or Android tablet (or run tablet simulator).

Log in with any account that has two-factor authentication via email enabled.

Observe the position of the “Two-factor authentication” modal.

Expected Behavior

The modal should stay vertically centered within the viewport regardless of device class, matching the phone layout.

Actual Behavior

On tablets the modal appears offset toward the top of the screen instead of centered; only phone layout centers it properly.

Rocket.Chat Server Version

NA

Rocket.Chat App Version

NA

Device Name

iPad simulator (also observed on Android tablet sim).

OS Version

iPadOS 18.1 (simulator); Android 15 tablet sim.

Additional Context

No response

deepak0x avatar Dec 05 '25 08:12 deepak0x