mirror of
https://github.com/element-hq/element-x-ios.git
synced 2025-03-10 21:39:12 +00:00
Don't allow the Placeholder Screen layout to be influenced by the keyboard (#2034)
This commit is contained in:
parent
6adedaf267
commit
344fed4ee6
@ -42,7 +42,8 @@ struct PlaceholderScreen: View {
|
||||
}
|
||||
.background()
|
||||
.environment(\.backgroundStyle, AnyShapeStyle(Color.compound.bgCanvasDefault))
|
||||
.ignoresSafeArea(edges: .top)
|
||||
.ignoresSafeArea(edges: .top) // Remain vertically centred even if there's a navigation bar.
|
||||
.ignoresSafeArea(.keyboard) // Specifically for the lock screen, but make sense everywhere.
|
||||
}
|
||||
}
|
||||
|
||||
|
1
changelog.d/2032.bugfix
Normal file
1
changelog.d/2032.bugfix
Normal file
@ -0,0 +1 @@
|
||||
Don't allow the Placeholder Screen layout to be influenced by the keyboard.
|
Loading…
x
Reference in New Issue
Block a user