Titanium JIRA Archive
Titanium SDK/CLI (TIMOB)

[TIMOB-24401] Windows: View.visible="false" does not work.

GitHub Issuen/a
TypeBug
PriorityHigh
StatusClosed
ResolutionFixed
Resolution Date2018-12-14T01:01:09.000+0000
Affected Version/sRelease 7.5.0
Fix Version/sRelease 8.0.0
ComponentsWindows
Labelsparity
ReporterMostafizur Rahman
AssigneeKota Iguchi
Created2017-02-14T14:56:03.000+0000
Updated2019-01-02T20:13:20.000+0000

Description

Hello, View.visible="false" is not working for windows phone. *Testing Environment:* Appcelerator Command-Line Interface, version 6.1.0 SDK: 6.0.1.GA Windows emulator: 8.1 WVGA 4 inch 512MB *Testing Code:*
var win = Ti.UI.createWindow();

var view = Titanium.UI.createView({
   borderRadius:10,
   backgroundColor:'red',
   width:50,
   height:50
});
win.add(view);
var button = Titanium.UI.createButton({
   title: 'Hello',
   top: 100,
   width: 100,
   height: 50
});
button.addEventListener('click',function(e)
{
   view.visible="false";
});
win.add(button);
win.open();
*Testing Result:* View.visible="false" does not hide the View. Thanks

Comments

  1. Kota Iguchi 2018-12-05

    https://github.com/appcelerator/titanium_mobile_windows/pull/1331
  2. Kota Iguchi 2018-12-14

    Merged, will be scheduled to release in 8.0.0.
  3. Keerthi Mahalingam 2019-01-02

    Verified the fix on SDK 8.0.0.v20190102082639.Works fine. Closing
       Test Environment:
        Name                        = Microsoft Windows 10 Pro
         Version                     = 10.0.17134
         Architecture                = 64bit
        Node.js
         Node.js Version             = 8.9.1
         npm Version                 = 5.5.1
       Titanium CLI
         CLI Version                 = 5.1.1
       Titanium SDK
         SDK Version                 = 8.0.0.v20190102082639
       Device                             =Windows 10  emulator,Lumia 650 DUAL SIM
       

JSON Source