Uploaded image for project: 'Titanium SDK/CLI'
  1. Titanium SDK/CLI
  2. TIMOB-28316

iOS: Button with new borderRadius API and viewShadowColor shows shadow even if button is hidden

    Details

    • Type: Bug
    • Status: Open
    • Resolution: Unresolved
    • Affects Version/s: None
    • Fix Version/s: None
    • Component/s: iOS
    • Labels:

      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();
      

        Attachments

          Activity

            People

            • Assignee:
              amukherjee Abir Mukherjee
              Reporter:
              bgarcia Brian García
            • Watchers:
              1 Start watching this issue

              Dates

              • Created:
                Updated:

                Backbone Issue Sync

                • Backbone Issue Sync is enabled for your project, but we do not have any synchronization info for this issue.

                  Git Integration