Skip to content

iOS: TableView search moving up and dimming stays #14289

@m1ga

Description

@m1ga

I have searched and made sure there are no existing issues for the issue I am filing

  • I have searched the existing issues

Description

const win = Ti.UI.createWindow({
  title: 'Window',
  //extendEdges: [Titanium.UI.EXTEND_EDGE_ALL],
  //autoAdjustScrollViewInsets:true
});
var newData = Ti.UI.createTableViewRow({
  title: 'element 1'
})
var newData2 = Ti.UI.createTableViewRow({
  title: 'row 2'
})
var newData3 = Ti.UI.createTableViewRow({
  title: 'item 3'
})
const table = Ti.UI.createTableView({
  search: Ti.UI.createSearchBar(),
  data: [newData, newData2, newData3]
});
win.add(table);
win.open();

TableView is acting strange in iOS26:
when I click in the TableView search bar it will move up and the dimming area stays at the correct position. Then when I type it looks fine. Removing all text will show a fullscreen dim area above everything.

tableview.mov

If I add extendSafeArea:false it looks like this:

Image

it stays in place but the dimming area is pushed down.

Expected Behavior

search view staying inside the safe area, dimming area show go away when the text in the searchbar is removed.

Actual behavior

see video

Reproducible sample

Steps to reproduce

start the example, click in the search, type something, remove the search text with the back button

Platform

iOS

SDK version you are using

13.0.0.GA

Alloy version you are using

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugiosneeds triageThis issue hasn't been reviewed by maintainers

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions