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

iOS 7: ListView - SearchBar disappears on device rotation if there are no text in the SearchBar


    • Type: Bug
    • Status: Closed
    • Priority: Medium
    • Resolution: Fixed
    • Affects Version/s: Release 3.2.2, Release 3.2.3
    • Fix Version/s: Release 3.4.0
    • Component/s: iOS
    • Environment:

      Appcelerator Studio, build:
      SDK build: 3.2.2.GA, 3.2.3.v20140403105720
      CLI: 3.2.3-alpha2
      Alloy: 1.3.1
      Xcode: 5.1
      Devices: iphone 5s (7.0), iphone 4 (7.1), ipad air (7.1)


      Details: If you add a SearchBar to a ListView, scroll up on the list until SearchBar (no text) is not visible, rotate device, then the SearchBar will disappear if you scroll back to the top.

      1. This is not a regression as this occurs in both SDK 3.2.2.GA and 3.2.3.
      2. This does not occur with iOS 6 devices.
      3. SearchBar will re-appear if you rotate the device again.
      4. If SearchBar disappears and you press on the empty area (see empty.png), then the SearchBar will re-appear again and persists regardless how many times you rotate the device afterwards.

      Steps to reproduce:
      1. Create a default Classic app with the app.js attachment and include these orientation in tiapp.xml:


      2. Launch app onto device
      3. Press on List w/ Search tab
      4. Scroll up on ListView until SearchBar is not visible
      5. Rotate device in any direction
      6. Scroll down on ListView until you're at the top

      Actual: SearchBar is missing (see empty.png).
      Expected: SearchBar should not disappear (see expected.png).


        1. app.js
          4 kB
        2. empty.png
          62 kB
        3. expected.png
          68 kB

          Issue Links



              • Assignee:
                ingo Ingo Muschenetz
                wluu Wilson Luu (Inactive)
              • Watchers:
                0 Start watching this issue


                • Created:

                  Backbone Issue Sync

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

                    Git Integration