Narendra
Narendra

Reputation: 4574

Keyboard overlaps textfiled inside lisview Item in IOS

In the nativescript app, I am using listview that contains input text-field in each row.

As I am using <activity android:windowSoftInputMode="adjustResize"> in my android manifest, it works fine in android but in ios for smaller devices keyboard overlaps the textfield.

Although I am using nativescript-iqkeyboardmanager as well.

Is it because of unavailable space for listview ? I am suspecting that IQKeyboardManager is unable to detect the height of individual item in listview and scrolls the whole listview up. Here is the screenshot.

Upvotes: 0

Views: 933

Answers (1)

Narendra
Narendra

Reputation: 4574

const iqKeyboard = IQKeyboardManager.sharedManager();
iqKeyboard.overrideKeyboardAppearance = true;
iqKeyboard.keyboardAppearance = UIKeyboardAppearance.Dark;
iqKeyboard.keyboardDistanceFromTextField = 40.0

Need to add references for NativeScript /Typescript as example

Upvotes: 1

Related Questions