deltachat / deltachat-ios

Email-based instant messaging for iOS.
Other
327 stars 52 forks source link

avoid frequent appearing/disappearing of the input field #427

Closed r10s closed 1 year ago

r10s commented 4 years ago

in a chat, when eg. attaching an image or recording a voice-message the input bar disappears.

in between, it shortly reappears just to disappear again, this results in a bit annoying flickering. also the whole screen is moved up and down.

same eg. if you select "delete" from the context menu and the actionSheet appears to ask for confirmation.

wondering if there are reasons why the input field disappears at all. it is grayed out and all controls lay over it.

cyBerta commented 4 years ago

The issue is in the InputBarAccessoryView library and I guess it's related to how the layout updates are done. Anyways, I couldn't find an easy fix for now. Maybe sb else can find out more.

nayooti commented 4 years ago

@r10s Can we close this?

r10s commented 4 years ago

it is still annoying and worth fixing. i think, we have a chance to fix it with #888

cyBerta commented 4 years ago

https://programming.vip/docs/ios-uses-uimenucontroller-without-hiding-keyboard.html This might give us an hint how to handle the appearing/disappearing inputfield by tweaking the UIResponder chain.

r10s commented 4 years ago

looks complicated - not sure how many new issues that will produce :) as mentioned, maybe target that after messageKitReplacement, also living with the current state seems to be a reasonable approach meanwhile :)

r10s commented 3 years ago

closing this, i just checked, at least it appears less annoying to be. might be because of "gallery" showed in cards, might be that the os is showing the things a bit smoother now.

also, it appears to be a things that is not really under our control, or, if we try controlling, further issues may pop up.

cyBerta commented 3 years ago

https://github.com/MessageKit/MessageKit/issues/620

r10s commented 3 years ago

great! so, there is a chance in fixing that? in this case, please re-open :)

cyBerta commented 3 years ago

some things need time but will be fixed at some point :)

r10s commented 1 year ago

not sure if the re-appearing is really a bug, you'll notive sth. like that also in other apps. otherwise tracked in https://github.com/deltachat/deltachat-ios/issues/1737 now