badoo / badoo/Chatto

Calculate cell height failed when use attributedText

Open
#462 6 comments 0 reactions 0 assignees View on GitHub
Dominant language
Swift
Stars
4.6k
Forks
588
PR merge metrics
No merged PRs in 30d

Description

When i use textView.attributedText instead of textView.text cells height are damage and cell drown on top of each other, can you help please.

Contributor guide

Open the contributing guide

Research direction

Start by reproducing the cell-height failure with textView.attributedText instead of textView.text. Trace the sizing path for the affected chat cells and compare the two text representations; done means cells with attributed text calculate their heights correctly and no longer overlap.

Written by the indexing model from the issue text.

Assessment

Tech stack
swift
Domain
mobile-dev
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.