Skip to content

Upgrade Material3 to 1.12.0-alpha03 - #116

Merged
patrickunterwegs merged 1 commit into
mainfrom
claude/compose-outlined-textfield-crash-k9jzac
Aug 26, 2026
Merged

Upgrade Material3 to 1.12.0-alpha03#116
patrickunterwegs merged 1 commit into
mainfrom
claude/compose-outlined-textfield-crash-k9jzac

Conversation

@patrickunterwegs

Copy link
Copy Markdown
Member

Summary

Updated the Material3 dependency version to align with the Compose Multiplatform requirements.

Changes

  • Upgraded material3 from 1.9.0 to 1.12.0-alpha03
  • Added a comment referencing the Compose Multiplatform changelog to document the version constraint dependency

Details

This upgrade ensures compatibility with the current version of Compose Multiplatform. The version constraint is documented with a reference to the official Compose Multiplatform changelog to help maintainers understand why this specific version is required.

https://claude.ai/code/session_01TUHLoZtpoBRJeebhbzz6fe

The bump to Compose Multiplatform 1.12.0 left material3 at 1.9.0. On
Android those two resolve to incompatible Jetpack artifacts:

  org.jetbrains.compose.foundation:foundation:1.12.0
      -> androidx.compose.foundation:foundation:1.12.0
  org.jetbrains.compose.material3:material3:1.9.0
      -> androidx.compose.material3:material3:1.4.0

Material3 1.4.0 was compiled against the older signature of
androidx.compose.foundation.style.CustomStyle.applyStyle, so composing
any OutlinedTextField now fails with

  java.lang.AbstractMethodError: abstract method
  "void androidx.compose.foundation.style.CustomStyle.applyStyle(
   androidx.compose.foundation.style.CustomStyleScope)" on receiver
  OutlinedTextFieldDefaults$$ExternalSyntheticLambda0

which crashes the app when the settings bottom sheet pages to the AI
provider or More tab. Under 1.11.1 this did not surface because
foundation resolved to androidx foundation 1.11.2.

The compatibility table for Compose Multiplatform 1.12.0 pairs it with
material3 1.12.0-alpha03 (Jetpack Material3 1.5.0-alpha22), which is the
first material3 built against foundation 1.12.x.

Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01TUHLoZtpoBRJeebhbzz6fe
@patrickunterwegs
patrickunterwegs merged commit a36df0c into main Aug 26, 2026
1 check passed
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.

2 participants