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

iOS: setting borderRadius to null causes error

    Details

    • Type: Bug
    • Status: Open
    • Priority: Low
    • Resolution: Unresolved
    • Affects Version/s: Release 3.1.1
    • Fix Version/s: None
    • Component/s: TiAPI
    • Labels:
    • Environment:

      TiSDK 3.1.1
      iOS 6.1

      Description

      problem

      Setting borderRadius to null causes the targeted proxy to disappear on iOS. I'm not entirely sure what is happening WRT to the borderRadius to cause the proxy to disappear entirely. On Android and Mobileweb the borderRadius appears to be simply set to zero as a developer would expect.

      expected

      Setting borderRadius to null should remove the borderRadius (or set it to 0) on all platforms without error.

      test case

      var win = Ti.UI.createWindow({
      	backgroundColor: '#fff',
      	modal: false,
      	exitOnClose: true
      });
      var label = Ti.UI.createLabel({
      	text: 'just a test label',
      	borderColor: '#0f0',
      	borderWidth: 2,
      	borderRadius: 8
      });
      label.addEventListener('click', function(e) {
      	label.borderRadius = null;
      });
       
      win.add(label);
      win.open();
      

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                Unassigned
                Reporter:
                tlukasavage Tony Lukasavage
              • Watchers:
                0 Start watching this issue

                Dates

                • Created:
                  Updated:

                  Backbone Issue Sync

                  • Titanium SDK/CLI <> Titanium Mobile
                    Synced with:
                    TIMOB-17011
                    Sync status:
                    ERROR
                    Last received:
                    Last sent:

                    Git Source Code