Skip to content

fix(message): preserve sticky descendants#433

Open
EfeDurmaz16 wants to merge 1 commit into
vercel:mainfrom
EfeDurmaz16:efe/message-content-overflow-x-clip
Open

fix(message): preserve sticky descendants#433
EfeDurmaz16 wants to merge 1 commit into
vercel:mainfrom
EfeDurmaz16:efe/message-content-overflow-x-clip

Conversation

@EfeDurmaz16
Copy link
Copy Markdown

Summary

  • replace MessageContent's overflow-hidden with overflow-x-clip
  • preserve horizontal clipping without creating the vertical overflow behavior that breaks sticky descendants
  • add a regression assertion for the rendered class list

Closes #420.

Verification

  • pnpm install --frozen-lockfile
  • pnpm --filter @repo/elements test -- message.test.tsx (ran the browser test suite; 46 files / 951 tests passed)
  • git diff --check

Notes

  • pnpm check packages/elements/src/message.tsx packages/elements/__tests__/message.test.tsx reports formatting is correct, then fails in oxlint config with Rule 'no-unresolved' not found in plugin 'import'.\n- pnpm --filter @repo/elements exec tsc --noEmit fails on existing upstream test typing errors unrelated to this change, including the pre-existing MessageContent variant test props and several other test mocks.

@vercel
Copy link
Copy Markdown
Contributor

vercel Bot commented May 15, 2026

@EfeDurmaz16 is attempting to deploy a commit to the Vercel Team on Vercel.

A member of the Team first needs to authorize it.

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.

MessageContent: replace overflow-hidden with overflow-x-clip to preserve sticky positioning

1 participant