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

iOS: Dismiss keyboard on drag / interactively in ScrollView & ListView

    Details

    • Type: New Feature
    • Status: Closed
    • Priority: Medium
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: Release 6.0.0
    • Component/s: iOS
    • Labels:
    • Story Points:
      2
    • Sprint:
      2016 Sprint 20 SDK

      Description

      Request from the Slack-community-member Carlos Henrique Zinato:

      I'm trying to dismiss the keyboard like the iMessage or Whastapp do, dragging the finger through it.
      I found the "UIScrollViewKeyboardDismissMode" constant on UIScrollView and as the Titanium ListView is a subclass of UIScrollView I thought that may be possible to achieve it.
      I saw here http://stackoverflow.com/questions/5143873/dismissing-the-keyboard-in-a-uiscrollview that this is possible simple setting the "scrollView.keyboardDismissMode" to "UIScrollViewKeyboardDismissModeInteractive".
      Do you have an idea on how we can make it?

      Yes I do, we should expose it with a new property called keyboardDismissMode and allow the configuration of the three value "none", "ondrag" and "interactive", exposed as constants on the iOS-namespace.

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                hknoechel Hans Knöchel
                Reporter:
                hknoechel Hans Knöchel
                Reviewer:
                Angel Petkov
                Tester:
                Abir Mukherjee
              • Watchers:
                6 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved:

                  Backbone Issue Sync

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

                    Git Source Code