[eSteem Mobile] 2.0.6 [BUG] Incorrect markdown cursor position on Bold and Italic text in editorsteemCreated with Sketch.

in #utopian-io6 years ago

Repository: https://github.com/esteemapp/esteem-mobile

Describe the bug
The editor in the mobile version of the eSteem app offers the possibility to insert text via click. When inserting a bold text, the cursor jumps to the end and creates the command ****| which is very difficult to use.

It would be better if the cursor were in the middle of the two asterisks to continue writing. There are two possibilities you can or should change here

  • 1 After clicking on the Bold icon the following is inserted with the cursor position:
    **|** to also write a Bold Text

  • 2 the first click on the Bold icon will insert the first two asterisks
    **| and after writing a text and clicking on the icon again 2 more asterisks ** are added to do justice to the markdown.

With variant 2 it already works very well with the code snippet in the editor.

The same as above also happens with italicized text. When inserting an italic text ** is inserted which is also a problem as described above.

To Reproduce
Steps to reproduce the behavior:

  1. Download the Latest Version of eSteem Mobile 2 App for Android
  2. Go in to the Editor where you can write a Contribution
  3. Hit the Bold or Italic Text Button to Insert the Markdown for these Text-Styles
  4. There you see the Problem

Expected behavior
My expectation was that if I wanted to insert a bold or italic text, the markdown would be placed correctly to ensure easy writing in the editor. When inserting the markdown command for code this works very well.

Screenshots or Video
Screen Video of Input in the eSteem Mobile Application
ezgif-4-ff36b1a6e0783123

At the eSteem Surfer Application is it working very well
ezgif-4-5a559b4674eb

Smartphone (please complete the following information):

  • Device: Huawei Mate 10 Pro
  • OS: Android 9
  • Version 2.0.6 latest

Additional context
In my personal opinion, it would be appropriate to change it like the Code Snippet, which has to be pressed twice on the Bold or Italic button. This is only my own opinion how to solve it best.

Issue opened: https://github.com/esteemapp/esteem-mobile/issues/468
My Github Account: https://github.com/louis88-steemit

Sort:  

Hi @louis,

Thanks for your contribution, I was able to replicate this issue on Android 9.0 on eSteem Mobile 2.0.6.

Your steps to reproduce were easy to understand and the GIF you added made this very easy to figure out, you didn't necessarily need to eSteem Surfer GIF, however, this does help provide some additional context into the issue and what the expected behavior actually is.

Some of your description of the bug should really have been included in the expected behavior rather than the description, only a small issue though.

I'm not sure you're technical background, do you have experience with JS or react? One way I could see you improving your scores considerably by looking into the cause of the issue.

Once again, great to see the project owner acknowledging it prior to contributing to Utopian, this is great practice.

Look forward to more contributions from you soon.


Your contribution has been evaluated according to Utopian policies and guidelines, as well as a predefined set of questions pertaining to the category.

To view those questions and the relevant answers related to your post, click here.


Need help? Chat with us on Discord.

[utopian-moderator]

Thank you for your review, @tobias-g! Keep up the good work!

Hi @louis88!

Your post was upvoted by @steem-ua, new Steem dApp, using UserAuthority for algorithmic post curation!
Your post is eligible for our upvote, thanks to our collaboration with @utopian-io!
Feel free to join our @steem-ua Discord server

Hey, @louis88!

Thanks for contributing on Utopian.
We’re already looking forward to your next contribution!

Get higher incentives and support Utopian.io!
Simply set @utopian.pay as a 5% (or higher) payout beneficiary on your contribution post (via SteemPlus or Steeditor).

Want to chat? Join us on Discord https://discord.gg/h52nFrV.

Vote for Utopian Witness!

Hi, @louis88!

You just got a 0.15% upvote from SteemPlus!
To get higher upvotes, earn more SteemPlus Points (SPP). On your Steemit wallet, check your SPP balance and click on "How to earn SPP?" to find out all the ways to earn.
If you're not using SteemPlus yet, please check our last posts in here to see the many ways in which SteemPlus can improve your Steem experience on Steemit and Busy.

You got a 35.99% upvote from @ocdb courtesy of @louis88!

@ocdb is a non-profit bidbot for whitelisted Steemians, current max bid is 15 SBD and the respective amount in Steem.
Check our website https://thegoodwhales.io/ for the whitelist, queue and delegation info. Join our Discord channel for more information.

If you like what @ocd does, consider voting for ocd-witness through SteemConnect or on the Steemit Witnesses page. :)

Coin Marketplace

STEEM 0.16
TRX 0.15
JST 0.027
BTC 59944.92
ETH 2307.28
USDT 1.00
SBD 2.48