Text is removed after setting text on mobile browser iOS

I’m now making script on Mac and facing the issue related to setText function. The entered text is removed after setting text on mobile browser iOS. My client just wants to run web test on real device/ simulator. So this is really big big issue. Please help me because it’s too urgent.

Below are my current script (userName value and password value are variables retrieving value from feature file)

import static com.kms.katalon.core.checkpoint.CheckpointFactory.findCheckpoint

import static com.kms.katalon.core.testcase.TestCaseFactory.findTestCase

import static com.kms.katalon.core.testdata.TestDataFactory.findTestData

import static com.kms.katalon.core.testobject.ObjectRepository.findTestObject

import com.kms.katalon.core.checkpoint.Checkpoint as Checkpoint

import com.kms.katalon.core.cucumber.keyword.CucumberBuiltinKeywords as CucumberKW

import com.kms.katalon.core.mobile.keyword.MobileBuiltInKeywords as Mobile

import com.kms.katalon.core.model.FailureHandling as FailureHandling

import com.kms.katalon.core.testcase.TestCase as TestCase

import com.kms.katalon.core.testdata.TestData as TestData

import com.kms.katalon.core.testobject.TestObject as TestObject

import com.kms.katalon.core.webservice.keyword.WSBuiltInKeywords as WS

import com.kms.katalon.core.webui.keyword.WebUiBuiltInKeywords as WebUI

import internal.GlobalVariable as GlobalVariable

import org.openqa.selenium.Keys as Keys

WebUI.setText(findTestObject(‘Pages/Login Page/txtUserName’), userName)

WebUI.delay(3)

WebUI.click(findTestObject(‘Pages/Login Page/btnContinue’))

WebUI.click(findTestObject(‘Pages/Login Page/txtPassword’))

WebUI.setEncryptedText(findTestObject(‘Pages/Login Page/txtPassword’), password)

WebUI.click(findTestObject(‘Pages/Login Page/btnSignIn’))

Katalon informed that keys ‘…’ sent to test object and test object was clicked on. Something is wrong?

And the value of “text-align” attribute of relevant input fields is “right”