wordpress-mobile / wordpress-mobile/WordPress-Android

Comment Filed not cleared after reply in Comment Details

Open
#14,372 1 comment 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

[Pri] Low [Status] Stale [Type] Bug Comments
Dominant language
Kotlin
Stars
3.2k
Forks
1.4k
Avg merge
1d 11h
Merged PRs (30d)
69

Description

After you submit a reply from Comment Details, input field is not cleared in certain conditions.

Steps to reproduce:

  • Open Comment list from My Site screen.
  • Make sure you have more then 3 comments.
  • Open second comment in the list.
  • Wire a reply and submit it.
  • Notice that the comment you submitted was not cleared from the edit text field.

I can speculate that this is related to multiple CommentDetailFragments in ViewPager trying to react to a single event.

Tested on Pixel 2 API 28 emulator with develop branch.

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 from Comment Details in the My Site comment list and inspect how multiple CommentDetailFragments in the ViewPager react to a submitted reply. Reproduce with more than three comments by replying to the second comment, then verify that the edit field is cleared after submission on the affected condition.

Written by the indexing model from the issue text.

Assessment

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

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.