IQKeyboardManager icon indicating copy to clipboard operation
IQKeyboardManager copied to clipboard

Bug on iOS 15.x when clicking "done" with bad UI repositioning

Open gduh opened this issue 4 years ago • 11 comments

Describe the bug

It seems to occurs only with iOS 15.X. Seems to work fine with iOS 14.8.1 UIViewController which contains : UINavigationBar and UITabBar components. And between them, 2 UIVIew, the second one including UITextFields.

On the 2nd view (See screenshot below) the user fill in the UITextViews, then he clicks the done's button . The UI is not OK as the "Top up" button appears under the TabBar. It should appears like the screenshot "UI OK", above the TabBar. If the user select another tab and then return to the previous, now, the UI is OK.

To Reproduce Steps to reproduce the behavior:

Expected behavior On "done" the UI should redraw correctly.

Screenshots UI OK: UI_OK

UI NOT OK : UI_NOTOK

Demo Project

Versions

Xcode: 13.2.1 Mac OS: 12.0.1 Simulator/Device: 12 Simulator/Device Name: iPhone XR / 12 / 12 PRO Library Version: 6.5.9

Additional context

gduh avatar Jan 20 '22 09:01 gduh

Facing the same Issue!

kishan-1211 avatar Jan 21 '22 13:01 kishan-1211

Facing The Same Issue. Screenshot 2022-01-25 at 11 02 35 AM

himanshu2024 avatar Jan 25 '22 05:01 himanshu2024

same issue. For me the textview overlaps with keyboard when goes up and goes a bit down the safe area when DONE is pressed..

When keyboard is up : Screenshot 2022-01-31 at 12 15 35 PM

When keyboard goes down : Screenshot 2022-01-31 at 12 15 46 PM

hemant-avaal avatar Jan 31 '22 07:01 hemant-avaal

same problem

jaceklapinski avatar Feb 07 '22 06:02 jaceklapinski

same problem here...

marvindrion avatar Mar 02 '22 16:03 marvindrion

Also have this issue

karlmcgeough avatar Mar 18 '22 17:03 karlmcgeough

idem

ClaireRimel avatar Mar 25 '22 08:03 ClaireRimel

setting IQKeyboardManager.shared.layoutIfNeededOnUpdate = true worked for me on 15.2

MuneebaMeer10 avatar Jul 18 '22 21:07 MuneebaMeer10

@MuneebaMeer10 where did you write that code in willAppear or didLoad?

zahidshaikh795 avatar Aug 02 '22 13:08 zahidshaikh795

Does anyone find the solution I am facing the same issue?

zahidshaikh795 avatar Aug 02 '22 13:08 zahidshaikh795

Can someone share a demo project here?

hackiftekhar avatar Aug 08 '22 14:08 hackiftekhar