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

iOS: View inside popover does not fill available space

    Details

      Description

      Problem Description

      A view inside a popover never fills the whole popover view, but leaves a padding on top and bottom of the popover.

      Workaround

      I have checked this issue. When I set navBarHidden is true, it’s creating extra padding in top and bottom in Popover as like as reporter snapshot. But it is working well if navBarHidden is false.

      Testcase

      var win = Ti.UI.createWindow({
          backgroundColor : '#fff'
      });
       
      var popover = Ti.UI.iPad.createPopover({
          width : 350,
          height : 300,
          arrowDirection : Ti.UI.iPad.POPOVER_ARROW_DIRECTION_ANY,
          navBarHidden : true,
      });
       
      var view = Ti.UI.createView({
          backgroundColor : "#fff",
          top : 0,
          width : Ti.UI.FILL,
          height : Ti.UI.FILL
      });
      popover.add(view);
       
      var aButton = Ti.UI.createButton({
          title : 'aButton',
      });
        
      aButton.addEventListener('click', function() {
          popover.show({ view : aButton });
      });
       
      win.add(aButton);
       
      win.open();
      

        Attachments

          Activity

            People

            • Assignee:
              vduggal Vishal Duggal (Inactive)
              Reporter:
              mrahman Mostafizur Rahman
              Reviewer:
              Pedro Enrique (Inactive)
            • Watchers:
              0 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved:

                Backbone Issue Sync

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

                  Git Source Code