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

Android: TextField goes behind the keyboard when textAlign right position.

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Critical
    • Resolution: Fixed
    • Affects Version/s: Release 5.3.1
    • Fix Version/s: Release 6.2.0
    • Component/s: Android
    • Labels:
      None
    • Environment:
    • Story Points:
      5
    • Sprint:
      2017 Sprint 08 SDK

      Description

      Description

      Just define TextField alignment to the right side and place it bottom of the window. Now touch on it for entering value and click back button then again touch it, now you will see the issue.

      Steps to Reproduce.

      1. Click on the textbox then soft keyboard will appear and a textbox is able visible.
      2. Click on the hardware back button, then the soft keyboard will disappear.
      3. Again, click on the textbox box, then soft keyboard is appears, but text box is unable to visible.

      Actual result : Unable see the textbox.

      Expected result : Able see the textbox for entering the value.

      Test Case:

      var win = Ti.UI.createWindow({
      	backgroundColor : 'white'
      });
       
      var customermodule = require('com.customerissue');
      Ti.API.info("module is => " + customermodule);
       
      var textField = Ti.UI.createTextField({
      	top : "400",
      	//left : 10,
      	width : 200,
      	height : "50",
      	borderRadius : 4,
      	borderWidth : 1,
      	textAlign : Titanium.UI.TEXT_ALIGNMENT_RIGHT,
      	borderColor : "#1c76bc",
      	keyboardType : Ti.UI.KEYBOARD_NUMBER_PAD,
      	returnKeyType : Titanium.UI.RETURNKEY_NUMBER_PAD,
      	color : '#3b3c3f',
       
      });
       
      win.add(textField);
       
      win.open();
      
      

      Thanks.

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                gmathews Gary Mathews
                Reporter:
                morahman Motiur Rahman
                Reviewer:
                Frankie Merzadyan (Inactive)
                Tester:
                Samir Mohammed
              • Watchers:
                5 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved:

                  Backbone Issue Sync

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

                    Git Source Code