[TIMOB-28316] iOS: Button with new borderRadius API and viewShadowColor shows shadow even if button is hidden
GitHub Issue | n/a |
---|---|
Type | Bug |
Priority | n/a |
Status | Open |
Resolution | Unresolved |
Affected Version/s | n/a |
Fix Version/s | n/a |
Components | iOS |
Labels | borderRadius |
Reporter | Brian García |
Assignee | Abir Mukherjee |
Created | 2021-01-14T11:09:08.000+0000 |
Updated | 2021-02-19T14:05:10.000+0000 |
Description
var win = Ti.UI.createWindow({ backgroundColor: "white", fullscreen: true });
var button = Ti.UI.createButton({
borderRadius: "22 22",
height: 44,
width: 180,
backgroundColor: "#eceded",
title: "Click me",
viewShadowColor: "4d000000",
viewShadowOffset: {
y: 2,
x: 2,
},
viewShadowRadius: 5,
});
button.addEventListener("click", () => {
button.hide();
setTimeout(() => {
button.show();
}, 2000);
});
win.add(button);
win.open();
Ping