[TIMOB-24401] Windows: View.visible="false" does not work.
GitHub Issue | n/a |
---|---|
Type | Bug |
Priority | High |
Status | Closed |
Resolution | Fixed |
Resolution Date | 2018-12-14T01:01:09.000+0000 |
Affected Version/s | Release 7.5.0 |
Fix Version/s | Release 8.0.0 |
Components | Windows |
Labels | parity |
Reporter | Mostafizur Rahman |
Assignee | Kota Iguchi |
Created | 2017-02-14T14:56:03.000+0000 |
Updated | 2019-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
https://github.com/appcelerator/titanium_mobile_windows/pull/1331
Merged, will be scheduled to release in 8.0.0.
Verified the fix on SDK 8.0.0.v20190102082639.Works fine. Closing