-
Notifications
You must be signed in to change notification settings - Fork 15
Open
Labels
enhancementNew feature or requestNew feature or request
Description
Describe the bug
Specifying RevealOverlayArrangement.Top or RevealOverlayArrangement.Bottom will make the Overlay appear offscreen.
To Reproduce
Reproducing the problem is very simple. Just change the Overlay of the Sample App as follows
when (key) {
Keys.Fab -> {
OverlayText(
modifier = Modifier.align(
verticalArrangement = RevealOverlayArrangement.Top,
),
text = "Click button to get started",
arrow = Arrow.bottom(),
)
}
Keys.Explanation -> {
...
}
}reveal/android-tests/src/main/kotlin/com/svenjacobs/reveal/android/tests/presentation/MainScreen.kt
Lines 112 to 118 in 86bab28
| Keys.Fab -> OverlayText( | |
| modifier = Modifier.align( | |
| horizontalArrangement = RevealOverlayArrangement.Start, | |
| ), | |
| text = "Click button to get started", | |
| arrow = Arrow.end(), | |
| ) |
Expected behavior
Expect the overlay to appear in the screen (with automatic adjustment of width, arrow position, etc.)
Screenshots
| Issue |
|---|
![]() |
Smartphone (please complete the following information):
- Android 15
Version
- 3.1.1
Additional context
Metadata
Metadata
Assignees
Labels
enhancementNew feature or requestNew feature or request
