Titanium JIRA Archive
Appcelerator Community (AC)

[AC-2416] Titanium.UI.TextField changes size after hiding and showing

GitHub Issuen/a
TypeBug
Priorityn/a
StatusClosed
ResolutionNeeds more info
Resolution Date2013-04-02T01:17:59.000+0000
Affected Version/sn/a
Fix Version/sn/a
ComponentsTitanium SDK & CLI
Labelsn/a
ReporterYaroslav Pidstryhach
AssigneeMauro Parra-Miranda
Created2012-11-26T11:56:43.000+0000
Updated2016-03-08T07:41:27.000+0000

Description

Reproduction steps: 1. Create a tabbed application with two tabs. 2. First tab: Add a Titanium.UI.TextField, center it, and maximize its width. 3. First tab: Add a button that toggles the visibility of the text field. 4. Second tab: leave empty. 5. Click the visibility toggling button. 6. Click the visibility toggling button again. Expected behavior: After clicking the button, the text field's width should stay the same. Actual behavior: after step 6, the width of the text field changes. Notes: After switching to the 2nd tab and back, the text field reverts to the correct width. See attached archive for the source code.

Attachments

FileDateSize
TabsSample.7z2012-11-26T11:56:43.000+00001013210

Comments

  1. Pedro Enrique 2013-04-01

    Please provide a one file sample app. Something that can be copied and pasted into app.js

JSON Source