wordpress-mobile / wordpress-mobile/AztecEditor-iOS

Text with emojis is not properly aligned with the bullet point

Open
#1,314 2 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

[Type] Bug
Dominant language
Swift
Stars
669
Forks
153
Avg merge
11h 27m
Merged PRs (30d)
4

Description

Related to https://github.com/wordpress-mobile/gutenberg-mobile/issues/2935

Describe the bug
Add emoji characters to a list item with text pushes the content some pixels down.

To Reproduce

  1. Go to a post/page.
  2. Add a List block.
  3. Add text with at least one emoji character.

Expected behavior
Text lines should be aligned with the bullet point.

Screenshots

Smartphone (please complete the following information):

  • Device: iPhone 8
  • OS: iOS 14.0
  • Version WordPress 16.3

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start by reproducing the issue in a List block on an iPhone 8 running iOS 14, using text that contains an emoji. Trace the list rendering and text/bullet alignment, then verify that emoji-containing list items align with their bullet points.

Written by the indexing model from the issue text.

Assessment

Tech stack
ios, swift
Domain
mobile
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.