[TIMOB-25532] iOS: ListView - controller.open doesn't come to front when using searchbar
GitHub Issue | n/a |
Type | Bug |
Priority | Critical |
Status | Closed |
Resolution | Duplicate |
Resolution Date | 2017-11-27T08:44:27.000+0000 |
Affected Version/s | Release 6.3.0 |
Fix Version/s | Release 7.0.0 |
Components | iOS |
Labels | searchBar |
Reporter | dbenhenni |
Assignee | Vijay Singh |
Created | 2017-11-17T18:21:21.000+0000 |
Updated | 2017-11-28T20:31:43.000+0000 |
Description
Steps to Reproduce
Inside of my ListView I have an onItemclick event which opens a new detailcontroller. After updating to 4.10.0 the detailcontroller doesn't come to front when using the search before. It appears hidden in the back. Just after canceling the search the detail controller appears.
Actual Result
controller.open() -> controller is hidden by searchbar
Expected Result
controller.open() should come to front.
Attachments
Hello, Please share the full reproducible sample code. Also, SDK CLI and testing platform info. Thanks.
Axway Appcelerator Studio, build: 4.10.0.201709271713 Testing Platform: iPad 2 Mini A1490 iOS 10.3.2 SDK: Tested with 6.2.1, 6.2.2 and latest 6.3.0 --> with 6.2.1 and 6.2.2 the searchbar appears on absolutely top of the controller when getting focus. Also in 6.2.2. In 6.3.0 this behaviour disappeared and it stays on correct position but, as I mentioned before, the searchbar on focus stays focused in front, the onItemclick Event is executed and the controller is opened but is hidden by the searchbar unless I click cancel at the searchbar. I will upload an example
Sample View:
View Controller:
Hello, This is not the full sample code. Please provide a sample app of full reproducible code that we can directly use. Thanks.
Hi, I've created a sample app. How can I provide you the zipped file?
[~dbenhenni] Is it not possible for you to attach in ticket ?
No, I can't attach a file to the ticket. I'm just seeing - Create Zephyr Test - Stop watching and - Remote Copy
[~sdarda] Can you help in getting test app from [~dbenhenni]. Thanks!
[~vijaysingh] Can you validate this ticket as part of TIMOB-25491? [~dbenhenni] Should be fine to just link it via Dropbox / Google Drive!
[~dbenhenni] In app.js file of attached example code , I do not see anything related ListView or SearchBar. I think you attached wrong example code. Can you please check it. Thanks!
You are right. This is the correct source code: [Example Code](https://www.dropbox.com/s/kt1ndhnzqu5v870/example_code.zip?dl=0)
Thanks [~dbenhenni]. We will look in this. Test Case 1 -
Test Case 2 -
Fixed as part of TIMOB-25491.
Closing as duplicate and fix verified in SDK build 7.0.0.v20171128115332