Skip to content

[pull] main from tldraw:main#266

Merged
pull[bot] merged 1 commit intocode:mainfrom
tldraw:main
Nov 14, 2025
Merged

[pull] main from tldraw:main#266
pull[bot] merged 1 commit intocode:mainfrom
tldraw:main

Conversation

@pull
Copy link
Copy Markdown

@pull pull Bot commented Nov 14, 2025

See Commits and Changes for more details.


Created by pull[bot] (v2.0.0-alpha.4)

Can you help keep this open source service alive? 💖 Please sponsor : )

## Summary

Fixes iOS zoom behavior on input/textarea focus by ensuring 16px minimum
font size in the feedback dialog.

## Changes

- **Removed viewport width restriction**: Applied 16px font size to all
`.tlui-input` elements on iOS, not just mobile viewports (< 600px)
- **Added textarea fix**: Applied 16px font size to feedback dialog
textarea on iOS
- **Driveby: Fixes color of user menu on iOS**: It was blue before, now
it is black.

## Why

iOS automatically zooms into input fields with font-size < 16px. The
previous fix only applied to mobile viewports, but iOS devices can have
various viewport sizes (especially iPad). Using `@supports
(-webkit-touch-callout: none)` targets iOS specifically regardless of
viewport size.

## Test plan

- [ ] Test on iPhone Safari (various viewport sizes)
- [ ] Test on iPad Safari
- [ ] Verify no zoom occurs when focusing inputs or textareas
- [ ] Verify appearance remains consistent on non-iOS devices

🤖 Generated with [Claude Code](https://claude.com/claude-code)


<!-- CURSOR_SUMMARY -->
---

> [!NOTE]
> Ensure 16px font size for inputs and feedback textarea on iOS to
prevent zoom; update sidebar user name color.
> 
> - **iOS input zoom prevention**:
> - Apply 16px font size to `packages/tldraw/src/lib/ui.css`
`*.tlui-input*` behind `@supports (-webkit-touch-callout: none)` (no
viewport constraint).
> - Add 16px font size to `apps/dotcom/.../dialogs.module.css`
`.feedbackDialogTextArea` for iOS.
> - **Sidebar styling**:
> - Set `apps/dotcom/.../TlaSidebar/sidebar.module.css`
`.sidebarUserSettingsName` color to `var(--tla-color-text-1)`.
> 
> <sup>Written by [Cursor
Bugbot](https://cursor.com/dashboard?tab=bugbot) for commit
b8867ed. This will update automatically
on new commits. Configure
[here](https://cursor.com/dashboard?tab=bugbot).</sup>
<!-- /CURSOR_SUMMARY -->

---------

Co-authored-by: Claude <noreply@anthropic.com>
@pull pull Bot locked and limited conversation to collaborators Nov 14, 2025
@pull pull Bot added the ⤵️ pull label Nov 14, 2025
@pull pull Bot merged commit e9477ef into code:main Nov 14, 2025
@pull pull Bot had a problem deploying to deploy-staging November 14, 2025 03:13 Failure
@pull pull Bot had a problem deploying to deploy-production November 14, 2025 03:13 Failure
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant