[TIMOB-23634] iOS: Toolbar on TextField doesn't hide smoothly when calling blur
GitHub Issue | n/a |
---|---|
Type | Bug |
Priority | Medium |
Status | Closed |
Resolution | Fixed |
Resolution Date | 2018-01-10T11:18:16.000+0000 |
Affected Version/s | Release 5.3.1 |
Fix Version/s | Release 7.0.2 |
Components | iOS |
Labels | TCSupportTriage, escalation, ios8, merge-7.0.2, toolbar |
Reporter | Phil Smithson |
Assignee | Vijay Singh |
Created | 2014-11-12T04:17:07.000+0000 |
Updated | 2018-01-24T23:11:27.000+0000 |
Description
Setup:
>Textfield with a Ti.UI.IOS.Toolbar with one button.
>Click eventlistener on the button which calls .blur() on the textfield
The keypad slides down, leaving the Toolbar at the top. When the keypad has slid off the page, only then does the Toolbar start to slide down.
Here's a slow-mo GIF: http://i.stack.imgur.com/x2zc2.gif
Sample code:
Causes a noticeable flash for the user.
$.cancelContact.addEventListener('click', function(){
$.txt_contactNumber.blur();
});
Attachments
File | Date | Size |
---|---|---|
x2zc2.gif | 2014-11-12T04:17:07.000+0000 | 340175 |
Hello, We have tested this issue but we did not reproduce it. Toolbar on TextField is hidden smoothly when calling blur. *Result:* It works as expected.
Testing Environment:
Titanium SDK: 3.4.1 Titanium CLI: 3.4.1 iOS Version: 8.1 iPad 5G, OS X Version: 10.9.5, Appcelerator Studio: 3.4.1Steps to Test:
1. Create an Alloy project. 3. Run this code with the testing environment. 4. Touch the textField and click the done button.Test Code
Thanks.
any update on this? It's annoying as the effect is to make the application look amateurish
Hello [~philsmithson]! Can you please take a look to the above testcase? Thanks!
This should be re-opened...still happens in latest Ti SDK 5.0.2.GA
We can reproduce the issue in kitchen sink app and click on TextField-->ToolBar. Click on any of the text field and this will pop up the keyboard toolbar and softkeyboard. The keyboard toolbar animates faster than the keyboard and once we click on send, keyboard toolbar animates slower than the soft keyboard and then disappears.
Any news on this one? Seems to be happening for a long time...
PR here. https://github.com/appcelerator/titanium_mobile/pull/8549 See comments on PR.
Update?
PR: https://github.com/appcelerator/titanium_mobile/pull/9656 Test Case 1.
Test Case 2 (Textfield on scroll view. Textfield should scroll up to be visible).
FR passed.
[~vijaysingh] Please back port, thanks!
PR (7_0_X) : https://github.com/appcelerator/titanium_mobile/pull/9712
Verified fix is found in: SDK 7.0.2.v20180124113923 SDK 7.1.0.v20180124115505