Open noemier opened 12 months ago
Hi @noemier,
For the first issue there's a ticket on our side that we're working on.
For the second one I'll create a new ticket and we'll investigate this issue.
I'll keep you informed as soon as I have an ETA for these fixes
Hi @noemier,
For the second issue, you have only to prevent SwiftUI from autoresizing view when keyboard appears by calling .ignoresSafeArea(.keyboard)
like
var body: some View {
Button("Show Sheet") {
showingSheet.toggle()
}
.sheet(isPresented: $showingSheet) {
} content: {
RcView().ignoresSafeArea(.keyboard)
}
}
Regards,
Hi @waelba
Thanks for the reply. This code is ok. Do you have any update on the first issue ?
Regards,
Hi @noemier,
I will keep you informed when a new release version which contains the fix will be available.
Regards,
Hi,
We display the chat view in SwiftUI sheet, we have several issues 1- When we touch the textfield, the keyboard appear and hide the last messages 2- When we scroll in the view with the keyboard open, we have a big padding which seems to be the size of the keyboard You can visualize the issues in the video. https://github.com/ringcentral/engage-digital-messaging-ios/assets/13999022/fa19732b-5757-4b00-af38-e2b5d0fd66b1
We reproduced issues on this configuration : Device: iPhone 15 Pro, iPhone 14 Pro ... iOS: 17.0 and 16.0 SDK: Dimelo-iOS v2.6.2 and 2.6.3
We appreciate any help Thanks