Skip to content

on iPad, on the spec review page, highlighting text with ...#1742

Merged
lukemarsden merged 1 commit intomainfrom
feature/001375-on-ipad-on-the-spec
Mar 2, 2026
Merged

on iPad, on the spec review page, highlighting text with ...#1742
lukemarsden merged 1 commit intomainfrom
feature/001375-on-ipad-on-the-spec

Conversation

@lukemarsden
Copy link
Collaborator

Helix: on iPad, on the spec review page, highlighting text with touch doesn’t pop open the comment panel. as an aside, the comment panel sometimes obscures text on the page

Issue 1: Touch selection not opening comment panel
- Added onTouchEnd handler alongside onMouseUp in DesignReviewContent
- Added 50ms delay for iOS to finalize text selection before processing

Issue 2: Comment panel obscures text on narrow viewports
- Added useMediaQuery to detect viewports < 1000px
- InlineCommentForm: renders as fixed bottom sheet on narrow viewports
- InlineCommentBubble: renders inline below document on narrow viewports
- Added auto-scroll to ensure comment form is visible after appearing

Spec-Ref: helix-specs@3b3c71604:001375_on-ipad-on-the-spec
@lukemarsden lukemarsden merged commit 14ec76a into main Mar 2, 2026
11 checks passed
@lukemarsden lukemarsden deleted the feature/001375-on-ipad-on-the-spec branch March 2, 2026 08:33
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant