Skip to content

Conversation

@hansemannn
Copy link
Collaborator

@hansemannn hansemannn commented Feb 3, 2026

These new APIs allow it to disable the web kit accessory view for input fields inside web views, making it possible to provide a real native experience for input interactions within web view containers. In addition, they allow to handle the safe area padding as part of the scroll insets.

hideKeyboardAccessoryView: false (default) hideKeyboardAccessoryView: true
Simulator Screenshot - iPhone 17 Pro - 2026-02-03 at 09 33 40 Simulator Screenshot - iPhone 17 Pro - 2026-02-03 at 09 33 57

Copy link
Contributor

@cb1kenobi cb1kenobi left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Cool! Code reviewed, haven’t tested. Code looks good to me. Nice work!

@m1ga
Copy link
Contributor

m1ga commented Feb 3, 2026

I only did the feature test 😄 I would be great to have example code to test it quicker.

I've used:

const win = Ti.UI.createWindow({});
const www = Ti.UI.createWebView({
  html: '<meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1"><input type="text" placeholder="test"/>',
  hideKeyboardAccessoryView: true
})
win.add(www);
win.open();

click the input field will not show the accessory view above the keyboard 👍

@hansemannn
Copy link
Collaborator Author

Sorry, forgot the example code! Thanks guys!

@hansemannn hansemannn merged commit b48b6d1 into tidev:main Feb 3, 2026
8 checks passed
@hansemannn hansemannn deleted the feature/hideKeyboardAccessoryView branch February 3, 2026 14:36
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants