Community Project - How to build a text and text input module for iOS and Android


#1

If anyone’s interested, join the open conversation with ideas on getting this done, until its actually done :slight_smile:, probably part of a broader conversation around internationalization and text features like caret control, highlighting, underling, etc.


#2

Hi aeq,
I think that a Input module would be a great help for every Fuse enthusiast specially for beginners as I am. What are your ideas about? Can you explain better what do you mean with ‘internationalization, caret control, highlighting, underling, etc.’?


#3

I’m thinking that we either reuse the platforms libraries (iOS or android) or write our own cross-platform version of those libraries in Uno or JavaScript.

Concept of Internationalization: https://developer.apple.com/videos/play/wwdc2015/227

Caret control is just about exposing or creating functions that handle the caret in an input control. e.g. getting the carets position and selecting text or adding text at a specific caret position

Text Selection can be used to highlight specific text based on selection (drawing a colored background behind text). Highlighting text in a text control is probably a separate module we can make but it requires finding the position of a selection of text.

Underlining is similar to highlighting except it draws a line underneath the selected text.