Titanium JIRA Archive
Titanium SDK/CLI (TIMOB)

[TIMOB-28316] iOS: Button with new borderRadius API and viewShadowColor shows shadow even if button is hidden

GitHub Issuen/a
TypeBug
Priorityn/a
StatusOpen
ResolutionUnresolved
Affected Version/sn/a
Fix Version/sn/a
ComponentsiOS
LabelsborderRadius
ReporterBrian García
AssigneeAbir Mukherjee
Created2021-01-14T11:09:08.000+0000
Updated2021-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();

Comments

  1. Brian García 2021-02-19

    Ping

JSON Source