Native Android input field

Richard Gaskin ambassador at fourthworld.com
Thu Apr 28 17:02:22 EDT 2022


J. Landman Gay wrote:

 > In the after-party that Richard set up on the last day of the
 > conference, the question came up whether the native Android
 > field widget would scroll. The answer is, yes it does.
 >
 > There is one little glitch. If the widget is editable, and your
 > finger lifts inside the widget after scrolling, the keyboard pops
 > up. If you end the scroll while your finger is outside the
 > field area, it does not.
 >
 > This doesn't happen if the field is not editable. Also in either case,
 > the scroll isn't as smooth as it is when constructed in a script.
 >
 > <https://quality.livecode.com/show_bug.cgi?id=21355>


Good find with that bug report.  Thanks for submitting it.

The circumstance I introduced in the chat was something far more common: 
just scrolling a field, a normal non-editable LC field used to display text.

Doing that without jittery motion and with appropriate scroll-end 
indication in LiveCode for mobile requires following the steps in this 
tutorial:

https://lessons.livecode.com/m/4069/l/94412-creating-a-native-scroller-to-scroll-a-field

Seems pretty fiddly just to scroll a field.

Makes me wonder how many of us would be using LC if those steps were 
required to have normal scrolling in our desktop apps when we were first 
considering this platform.

-- 
  Richard Gaskin
  Fourth World Systems



More information about the use-livecode mailing list