InteractiveMechanics / nmai-nk360-interactives

0 stars 0 forks source link

[x] Annotation box not always active on Android #719

Closed amberreeves closed 6 years ago

amberreeves commented 6 years ago

On Android mobile devices, the text box that opens after a pin is placed is wonky. The box opens, but is inactive. If you touch outside the box, it becomes active, but then is covered when the keyboard pops up.

See video for details https://www.dropbox.com/s/dv1caby8h56dp1i/Annot-AndroidPhone-18025.MOV?dl=0

Phone: Samsung Galaxy J3 Tablet: Samsung Galaxy Tab A (8") Browser: Chrome

mtedeschi commented 6 years ago

Mike is trying to track down the issue on an Android device. More soon.

mtedeschi commented 6 years ago

I encountered something similar to this. It's a little hard to figure out what the heck is happening, so I'll have to test it further and see what the problem is.

mtedeschi commented 6 years ago

This issue was pretty interesting (well, to me at least):

Android's behavior for opening/closing the keyboard is different than iOS—when it opens, it resizes the screen and switches from portrait to landscape. This caused some styling issues and some strange behavior. We added in a fix for Android only that overrides a default behavior where it attempts to jump the page to the focused input, as well as fixed the styling bugs that were displaying when this happened.

amberreeves commented 6 years ago

looks good