mirror of
git://jb55.com/damus
synced 2024-09-18 19:23:49 +00:00
Fix for missing bottom half of a note
Strange fix, but by increasing the height of a UiTextView past the size of any legitimate content, then re-sizes back to the correct size displaying the full content. Changelog-Fixed: Fixed disappearing text on iOS17
This commit is contained in:
parent
b556257edd
commit
39dce64131
@ -29,6 +29,7 @@ struct SelectableText: View {
|
||||
.padding([.leading, .trailing], -1.0)
|
||||
.onAppear {
|
||||
self.selectedTextWidth = geo.size.width
|
||||
self.selectedTextHeight = 100000.0
|
||||
}
|
||||
.onChange(of: geo.size) { newSize in
|
||||
self.selectedTextWidth = newSize.width
|
||||
|
Loading…
Reference in New Issue
Block a user