Details

    • Type: Bug
    • Status: Open
    • Priority: Low
    • Resolution: Unresolved
    • Affects Version/s: Release 3.0.2, Release 3.1.0
    • Fix Version/s: None
    • Component/s: iOS
    • Environment:

      CLI: 3.0.24-cr
      Titanium SDK version 3.0.2.v20130207164659
      Titanium Studio, build: 3.0.2.201302041757
      Mac OS 10.8.2

      Description

      When using the postlayout event for web view, the event fires twice.

      var win = Ti.UI.createWindow();
       
      var webview = Ti.UI.createWebView({
      				url : "http://www.google.com",
      				width : 100,
      				height : 100,
      				top : 300
      			});
      				
      webview.addEventListener("postlayout", function() {
      				Ti.API.info("---------------------webview postlayout");
      	});
      win.add(webview);
      win.open();
      

      Steps to reproduce:
      1) Create a project with the above code
      2) Run the code on device or simulator
      3) Examine the console output

      Result:
      webview postlayout fires twice

      Expected:
      webview postlayout fires once

        Attachments

          Activity

            People

            • Assignee:
              Unassigned
              Reporter:
              emerriman Eric Merriman
            • Watchers:
              1 Start watching this issue

              Dates

              • Created:
                Updated:

                Backbone Issue Sync

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

                  Git Integration