allenai / allenai/OLMoE.swift

[iPad Only] Scrolling to Last User Message Fails from Landscape to Portrait

Open
#165 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
Swift
Stars
312
Forks
42
PR merge metrics
No merged PRs in 30d

Description

## Description
On iPad only. When switching from **landscape to portrait mode**, the latest user message does not fully scroll to the top. Instead, it only scrolls partially. This issue does **not** occur when switching from portrait to landscape mode.

## Steps to Reproduce

1. Start the app in **landscape mode**.
2. Chat with the AI by sending a few messages.
3. Rotate the device to **portrait mode**.
4. Send a new message.

### Expected Behavior
- The latest user message should **scroll fully to the top** of the chat view.

### Actual Behavior
- The latest user message **only scrolls partially**, not reaching the top.

## Demo
https://github.com/user-attachments/assets/7197d436-98a6-4c62-a49b-39213a46851d

## Additional Notes
- This issue **only occurs when switching from landscape to portrait**.
- It does **not** happen when going from portrait to landscape.

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.