Skip to content
This repository has been archived by the owner on Mar 4, 2020. It is now read-only.

ScrollingStageTextInputSkin softkeyboard problem on focus #2

Open
leossmith opened this issue Sep 23, 2016 · 7 comments
Open

ScrollingStageTextInputSkin softkeyboard problem on focus #2

leossmith opened this issue Sep 23, 2016 · 7 comments

Comments

@leossmith
Copy link

So I had a strange issue, not sure if this is a problem of AIR or of the (awesome) skins. I have a screen with couple of textinputs using number softkeyboard. When I click on any of them, the keyboard works great, but when the app is focused on textinput1 and i click on textinput2 then a default keyboard appears. If i focus out and then click, everything works perfectly.

I am testing on Android 6.0.1

@quick6black
Copy link
Owner

i will check it out in a few days.

@quick6black
Copy link
Owner

I was not able to replicate what you are experiencing, I tested on a Droid Maxx with 5.1 and a One Plus One with 6.0.1 with Air 21, Flex 4.15

On thing i noticed on the Droid Maxx was when you focus the textinput the correct numbers keyboard shows up, when you click away the default keyboard popups and then disappears. The One Plus One uses an aftermarket keyboard and there were no quirky issues.

Can you post some code and Flex/Air version?

@leossmith
Copy link
Author

leossmith commented Sep 26, 2016

Hi there,

so here we go:

        <s:TextInput id="t3" width="45%"  prompt="Stardust" textAlign="center" softKeyboardType="number" restrict="0-9"  maxChars="5" returnKeyLabel="next"/>

        <s:Spacer width="3%"/>
        <s:TextInput id="t1" prompt="HP" width="27%" textAlign="center" softKeyboardType="number" restrict="0-9" maxChars="3" returnKeyLabel="done"/>

This are two text inputs next to each other. Here is a video of first focusing on t3 and then when clicking on t1 you can see the strange behavior. If i click outside the text inputs and then on a text input, i don't see any problems.

https://dl.dropboxusercontent.com/u/70763217/2016_09_27_01_37_53.mp4

@quick6black
Copy link
Owner

i figured out what is happening, it looks like the text input box that is having the issue is disabled. When i tested a disabled text input box the default keyboard shows up instead of the one specified. I will work on a fix

@leossmith
Copy link
Author

Thanks for figuring out what is wrong. Also thank you for the awesome
skins. We have a new flex app with about 550k users, and they just love the
interface.

On Wed, Sep 28, 2016, 7:28 PM Aaron Nash notifications@github.com wrote:

i figured out what is happening, it looks like the text input box that is
having the issue is disabled. When i tested a disabled text input box the
default keyboard shows up instead of the one specified. I will work on a fix


You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
#2 (comment),
or mute the thread
https://github.com/notifications/unsubscribe-auth/AEGgTKHeMEZu27PytYDCjsHfBs9R0qHxks5qupWbgaJpZM4KFE28
.

@quick6black
Copy link
Owner

no problem, thanks for the positive feedback. What app? Would like to check it out

@leossmith
Copy link
Author

leossmith commented Sep 28, 2016

It is a calculator for pokemon go :) https://play.google.com/store/apps/details?id=tech.simpleapps.pokecalculator

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants