Page MenuHomePhabricator

[S] Keyboard icon overlaps character counter as user is typing
Closed, ResolvedPublicBUG REPORT

Assigned To
Authored By
Djackson-ctr
Nov 2 2023, 5:09 PM
Referenced Files
F41435452: image.png
Nov 3 2023, 8:05 PM
F41435450: image.png
Nov 3 2023, 8:05 PM
F41434237: image.png
Nov 3 2023, 8:05 PM
F41434352: image.png
Nov 3 2023, 8:05 PM
F41434182: image.png
Nov 3 2023, 8:05 PM
F41433880: image.png
Nov 3 2023, 8:05 PM
F41433794: image.png
Nov 3 2023, 8:05 PM
F41433990: image.png
Nov 3 2023, 8:05 PM

Description

When user is inserting text into Something Else field or Additional Details field and the character counter starts counting in descending order, the user can't see the counter because a language keyboard icon will appear and overlap the counter as the user is typing, which means the user will not see that they have reached their character limit until they stop typing, if you stop typing the keyboard icon disappears but will reappear when you restart typing.
This happens with RTL and LTR languages, I suspect this is happening with all of the Beta Wikis.

Steps to reproduce:

  1. Open any beta wiki url
  2. Log in with a user that has at least 1 edit
  3. Go to a User Talk page
  4. Select the Report option
  5. Select Proceed to File A Report
  6. Start inserting text into the Additional Details field and you will see a keyboard icon display on the bottom left or right corner of the text field (depending upon which language beta you are using)
  7. When you have inserted at least 400 characters you will see the character counter appear behind the keyboard icon instead of in front of the keyboard icon. When you stop typing the keyboard icon will disappear and then you will see the character counter.
    image.png (563×781 px, 41 KB)
    image.png (515×1 px, 275 KB)

Expected Result:
Keyboard icon should not be displaying or overlapping the character counter, the character counter needs to be displayed by itself.

Event Timeline

Restricted Application added a subscriber: Aklapper. · View Herald Transcript
Dreamy_Jazz renamed this task from Keyboard icon overlaps character counter as user is typing to [S] Keyboard icon overlaps character counter as user is typing.Nov 2 2023, 5:39 PM

Change 971259 had a related patch set uploaded (by Dreamy Jazz; author: Dreamy Jazz):

[mediawiki/extensions/ReportIncident@master] Move counter to prevent collision with IME selector

https://gerrit.wikimedia.org/r/971259

Change 971259 merged by jenkins-bot:

[mediawiki/extensions/ReportIncident@master] Move counter to prevent collision with IME selector

https://gerrit.wikimedia.org/r/971259

Test wiki created on Patch demo by DJacksonA using patch(es) linked to this task:
https://patchdemo.wmflabs.org/wikis/499829e81d/w

Test wiki on Patch demo by DJacksonA using patch(es) linked to this task was deleted:

https://patchdemo.wmflabs.org/wikis/499829e81d/w/