Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

HTML TextInput UX issues #118

Open
2 of 5 tasks
etoledom opened this issue Aug 15, 2018 · 4 comments
Open
2 of 5 tasks

HTML TextInput UX issues #118

etoledom opened this issue Aug 15, 2018 · 4 comments
Labels
HACK week HACK week June 2020 [Pri] Medium [Type] Bug Something isn't working [Type] Task

Comments

@etoledom
Copy link
Contributor

etoledom commented Aug 15, 2018

This is a follow up of many UX issues regarding the HTML editor.

As an alternative of using InputView, we could try to use Aztec component on HTML edit mode. It might save us some troubles (or add more?)

Both platforms:

  • When there is more than one screen of text, and the user scrolls the content, it will always start editing showing the keyboard.

Android:

  • When it first appear, It is shown scrolled to the bottom.
  • On focus, it will always scroll to the bottom and show the cursor at the end.
  • When is empty, the cursor is at the middle of the screen. Add textAlignVertical to html text input. #114

iOS

@etoledom etoledom added the [Type] Bug Something isn't working label Aug 15, 2018
This was referenced Aug 15, 2018
@daniloercoli
Copy link
Contributor

On focus, it will always scroll to the bottom and show the cursor at the end.

This is an ugly problem IMO, especially when you switch to HTML to be able to edit a long post (with maybe unsupported blocks). You scroll the view until you find the part of the text you want to modify, and then tap on the screen....It took a while to figure out where to put back the caret.

@etoledom
Copy link
Contributor Author

I like the idea of using the HTML Editor used on Aztec. Hopefully that will solve these problems 🙏

@SergioEstevao
Copy link
Contributor

@hypest should we try to fix the issues above or move to the solution where we use the native HTML editors?

@hypest
Copy link
Contributor

hypest commented May 4, 2020

I'd favor using a native-based html editor (Aztec's can be an option), thinking that since html mode is a long string of rich-text content (think: syntax highlighted) it might not be very performant to rely on RN/JS for the editing UX.

@hypest hypest added the HACK week HACK week June 2020 label Jun 7, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
HACK week HACK week June 2020 [Pri] Medium [Type] Bug Something isn't working [Type] Task
Projects
None yet
Development

No branches or pull requests

4 participants