forked from androidx/androidx
-
Notifications
You must be signed in to change notification settings - Fork 60
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
foundation. physics. Fix outlined text view regression (#855)
## Proposed Changes Construct `OverscrollEffect` outside of `textFieldScrollable` and pass it there to keep scroll behavior similar to iOS (the only platform providing text field overscroll for now) Use the `OverscrollEffect.effectModifier` (if any) for internal text and not decoration box itself to avoid unintended clipping. ## Testing Test: check that `OutlinedTextField` is not incorrectly clipped. `OverscrollEffect` for large text fields still works correctly. ## Issues Fixed Fixes: JetBrains/compose-multiplatform#3737 --------- Co-authored-by: dima.avdeev <dima.avdeev@jetbrains.com>
- Loading branch information
Showing
2 changed files
with
12 additions
and
9 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters