# Experiencing touch offset issues replying on Android

**URL:** https://meta.discourse.org/t/experiencing-touch-offset-issues-replying-on-android/84086
**Category:** Support
**Created:** [March 29, 2018, 12:51am UTC](https://meta.discourse.org/t/experiencing-touch-offset-issues-replying-on-android/84086 "2018-03-29T00:51:39Z")
**Posts on this page:** 20
**Page:** 1

<div class="post-metadata">

### Author: ![1101010](https://avatars.discourse-cdn.com/v4/letter/1/6de8d8/32.png) [@1101010](https://meta.discourse.org/u/1101010)
#### Post date: [March 29, 2018, 12:51am UTC](https://meta.discourse.org/t/experiencing-touch-offset-issues-replying-on-android/84086/1 "2018-03-29T00:51:40Z")

</div>

This topic tries to explain

> **[Reply box clicks register in the wrong place or something?](https://community.drownedinsound.com/t/reply-box-clicks-register-in-the-wrong-place-or-something/24181)**
>
> not even sure how to explain this one but sometimes the hitboxes are in the wrong place. like you click one of the buttons but the click registers about a inch higher and clicks some other random thing. sometimes impossible to actually reply coz...

You start typing a reply and then at some point it seems like the box no longer recognises input properly. I find I can move the cursor around the input box but that’s it, no replies or anything. Seems to be resolved by either

- klling all apps and reopening Chrome (the reply is saved)
- switching to desktop and back

I wondered if it might have been connected to the recent JavaScript fix done around making sure the topic auto-positioned in the right place? Otherwise I’m unsure but when this is happening no other web aspects are affected on my phone (OnePlus 3) so I think it’s definitely just the site software.

Thanks in advance

---

<div class="post-metadata">

### Author: ![codinghorror](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/codinghorror/32/110067_2.png) [@codinghorror](https://meta.discourse.org/u/codinghorror)
#### Post date: [March 29, 2018, 12:52am UTC](https://meta.discourse.org/t/experiencing-touch-offset-issues-replying-on-android/84086/2 "2018-03-29T00:52:53Z")

</div>

Needs much more info, what mobile browser version, what OS version, etc.

Also _can you reproduce it here or on [try.discourse.org](http://try.discourse.org)_ because it’s possible there is some local CSS customization on that particular site which is behaving badly.

---

<div class="post-metadata">

### Author: ![1101010](https://avatars.discourse-cdn.com/v4/letter/1/6de8d8/32.png) [@1101010](https://meta.discourse.org/u/1101010)
#### Post date: [March 29, 2018, 3:36am UTC](https://meta.discourse.org/t/experiencing-touch-offset-issues-replying-on-android/84086/3 "2018-03-29T03:36:49Z")

</div>

Okay thanks,

I’ll attempt to make it happen there. Unfortunately it’s intermittent.

In terms of browser it seems to be Chrome on Android so far. My Android version 8.0.0 security patched to Dec 2017, with OxygenOS at 5.0.1

---

<div class="post-metadata">

### Author: ![ma0sm](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/ma0sm/32/259526_2.png) [@ma0sm](https://meta.discourse.org/u/ma0sm)
#### Post date: [April 19, 2018, 8:38am UTC](https://meta.discourse.org/t/experiencing-touch-offset-issues-replying-on-android/84086/4 "2018-04-19T08:38:21Z")

</div>

I’ve reproduced this one intermittently quite a number of times on my Android Samsung Galaxy S7 Edge in Chrome. I reproduced it this morning, but after restarting the application, I could no longer replicate it.

Chrome 65.0.3325.109  
Operating System 7.0.0 SM-G935F Build/NRD90M

---

<div class="post-metadata">

### Author: ![kokmok](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/kokmok/32/78954_2.png) [@kokmok](https://meta.discourse.org/u/kokmok)
#### Post date: [April 25, 2018, 9:07am UTC](https://meta.discourse.org/t/experiencing-touch-offset-issues-replying-on-android/84086/5 "2018-04-25T09:07:17Z")

</div>

A lot of users on our instance are reporting this bug. We made a poll to target it. For the moment only android users, less than half of the voters. We use the stock mobile layout.

---

<div class="post-metadata">

### Author: ![tophee](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/tophee/32/73406_2.png) [@tophee](https://meta.discourse.org/u/tophee)
#### Post date: [April 25, 2018, 11:24am UTC](https://meta.discourse.org/t/experiencing-touch-offset-issues-replying-on-android/84086/6 "2018-04-25T11:24:14Z")

</div>

I have also experienced this intermittently here on meta using the discourse Android app (Galaxy S7, Marshmallow). I managed to work around it either by minimizing the editor and then maximizing it again or by reloading the page (can’t remember which one it was but I think it required a page reload).

---

<div class="post-metadata">

### Author: ![codinghorror](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/codinghorror/32/110067_2.png) [@codinghorror](https://meta.discourse.org/u/codinghorror)
#### Post date: [April 26, 2018, 12:04am UTC](https://meta.discourse.org/t/experiencing-touch-offset-issues-replying-on-android/84086/7 "2018-04-26T00:04:01Z")

</div>

Can you repro this at all @falco?

---

<div class="post-metadata">

### Author: ![Falco](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/falco/32/179432_2.png) [@Falco](https://meta.discourse.org/u/Falco)
#### Post date: [April 27, 2018, 1:29am UTC](https://meta.discourse.org/t/experiencing-touch-offset-issues-replying-on-android/84086/8 "2018-04-27T01:29:55Z")

</div>

> [@codinghorror](#):
>
> Can you repro this at all @falco?

Nope, never had that. However I must admit that I compose big posts mostly in Desktop.

> [@ma0sm](#):
>
> Galaxy S7

> [@tophee](#):
>
> Galaxy S7

Was those using the “Samsung Internet” browser?

---

<div class="post-metadata">

### Author: ![riking](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/riking/32/170938_2.png) [@riking](https://meta.discourse.org/u/riking)
#### Post date: [April 27, 2018, 1:37am UTC](https://meta.discourse.org/t/experiencing-touch-offset-issues-replying-on-android/84086/9 "2018-04-27T01:37:18Z")

</div>

One conclusion that I reached & forgot to write down is that it was happening more in Chrome Custom Tabs (i.e. from the app) as opposed to opening though the browser.

---

<div class="post-metadata">

### Author: ![Falco](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/falco/32/179432_2.png) [@Falco](https://meta.discourse.org/u/Falco)
#### Post date: [April 27, 2018, 1:38am UTC](https://meta.discourse.org/t/experiencing-touch-offset-issues-replying-on-android/84086/10 "2018-04-27T01:38:49Z")

</div>

Oh, maybe the extra navbar in the Chrome Custom Tab is throwing us a curve ball then.

I only use Discourse via the webapk, so I won’t get those.

---

<div class="post-metadata">

### Author: ![ma0sm](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/ma0sm/32/259526_2.png) [@ma0sm](https://meta.discourse.org/u/ma0sm)
#### Post date: [May 16, 2018, 1:58pm UTC](https://meta.discourse.org/t/experiencing-touch-offset-issues-replying-on-android/84086/11 "2018-05-16T13:58:49Z")

</div>

I was using Chrome, have never used any other browser on the device.

---

<div class="post-metadata">

### Author: ![kokmok](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/kokmok/32/78954_2.png) [@kokmok](https://meta.discourse.org/u/kokmok)
#### Post date: [June 12, 2018, 8:38am UTC](https://meta.discourse.org/t/experiencing-touch-offset-issues-replying-on-android/84086/12 "2018-06-12T08:38:13Z")

</div>

From our users (between 200 and 300 _engaged users_ ) :  
Since one update committed after the 25th of april (I don’t really know which) to the last update ( [v2.1.0.beta1 +200](https://github.com/discourse/discourse/compare/8d92c73aad0556cff23e625788bdedf8e8c34673...tests-passed)) the bug didn’t happen. But since this last version update we have a lot of reports describing exactly the same behaviour.  
Reply button doesn’t fire (as if something transparent was above). Once it happens, they said they need to relaunch the app (for the app users) or close tab and reopen a new one for browser users.  
This was reported only on android with differents devices brands (Samsung, One+x,..)  
Ha I forgot.

- ~~This NEVER happened to Admin or Moderators users.~~ happend to admin (06-17)

- We DID NOT tweak or customize the mobile ui with some extra CSS or JS.

- Neither the cancel button (with the trashbin icon) or the upload button are triggerable.

- Here is the list of our extensions :

- The discourse ad plugin is activated for every users this can not cause the bug to be invisible for admins..

Not beeing able to reply on a forum is a huge issue, I really hope you will find a fix. Let me know if you need some extra informations or if I can help in some way.

---

<div class="post-metadata">

### Author: ![tophee](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/tophee/32/73406_2.png) [@tophee](https://meta.discourse.org/u/tophee)
#### Post date: [June 12, 2018, 9:00am UTC](https://meta.discourse.org/t/experiencing-touch-offset-issues-replying-on-android/84086/13 "2018-06-12T09:00:22Z")

</div>

I can confirm that I have not seen this behaviour for a while but it has come back here on meta in recent days (Using chrome on Android or the discourse app, which, I believe technically boils down to the same thing.)

---

<div class="post-metadata">

### Author: ![kokmok](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/kokmok/32/78954_2.png) [@kokmok](https://meta.discourse.org/u/kokmok)
#### Post date: [June 13, 2018, 12:27pm UTC](https://meta.discourse.org/t/experiencing-touch-offset-issues-replying-on-android/84086/14 "2018-06-13T12:27:18Z")

</div>

Ok, I have a better description of the issue.

 ![Screenshot_20180613-135950](https://global.discourse-cdn.com/meta/original/3X/2/6/26938b08baaf052308e41ea69b9df605d121bc1c.png)

The report says when this blue cursor appears, the ui is stuck. In fact this blue cursor is not focus in the editor but below (not really sure of that is below. The reporter says he can move the blue cursor) on an undefined text zone. The minimize-editor arrow works, but it doesn’t solve the issue.

@SnapGravy Is it detailed enough to create an issue on the github repo ?

---

<div class="post-metadata">

### Author: ![kokmok](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/kokmok/32/78954_2.png) [@kokmok](https://meta.discourse.org/u/kokmok)
#### Post date: [June 17, 2018, 6:39am UTC](https://meta.discourse.org/t/experiencing-touch-offset-issues-replying-on-android/84086/15 "2018-06-17T06:39:32Z")

</div>

This issue is problematic.  
Please, can someone give me a script or just show me the way to track this bug ? I would like to understand on which DOM element they are clicking.

---

<div class="post-metadata">

### Author: ![codinghorror](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/codinghorror/32/110067_2.png) [@codinghorror](https://meta.discourse.org/u/codinghorror)
#### Post date: [June 17, 2018, 9:50am UTC](https://meta.discourse.org/t/experiencing-touch-offset-issues-replying-on-android/84086/16 "2018-06-17T09:50:18Z")

</div>

We need consistent repro steps to fix it. Give us repro steps.

---

<div class="post-metadata">

### Author: ![kokmok](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/kokmok/32/78954_2.png) [@kokmok](https://meta.discourse.org/u/kokmok)
#### Post date: [June 17, 2018, 9:58am UTC](https://meta.discourse.org/t/experiencing-touch-offset-issues-replying-on-android/84086/18 "2018-06-17T09:58:01Z")

</div>

> [@codinghorror](#):
>
> We need consistent repro steps to fix it. Give us repro steps.

We try our best but it seems unpredictable. Users just close their tabs, reopen it and this disapear. I tried to make a script to track this but i failed. I thinked to log the clicks of one trusted user to know which dom element is cliked when it appears.  
some reporters are users who works in I.T. they didn’t yet find how to reproduce. Any advice is welcome

---

<div class="post-metadata">

### Author: ![tophee](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/tophee/32/73406_2.png) [@tophee](https://meta.discourse.org/u/tophee)
#### Post date: [June 17, 2018, 11:26am UTC](https://meta.discourse.org/t/experiencing-touch-offset-issues-replying-on-android/84086/19 "2018-06-17T11:26:57Z")

</div>

Since the phenomenon seems really hard to pin down, maybe this can help to limit the scope of possible causes?

> [@kokmok](#):
>
> Since one update committed after the 25th of april (I don’t really know which) to the last update ( [v2.1.0.beta1 +200](https://github.com/discourse/discourse/compare/8d92c73aad0556cff23e625788bdedf8e8c34673...tests-passed)) the bug didn’t happen.

---

<div class="post-metadata">

### Author: ![cpradio](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/cpradio/32/4970_2.png) [@cpradio](https://meta.discourse.org/u/cpradio)
#### Post date: [June 17, 2018, 2:09pm UTC](https://meta.discourse.org/t/experiencing-touch-offset-issues-replying-on-android/84086/20 "2018-06-17T14:09:05Z")

</div>

I can repro this consistently. Click reply on Android device running Oreo.

Click the text box to give focus.  
Click topic title to navigate to top of topic  
Click reply text box again for focus  
Try composing reply.  
Clicks have a weird offset. I generally have to click 2-3 lines below my intended target.

Navigate away from topic to another and eventually the click target is back to normal and you can tell it to reply to original post/topic. Or refresh the page

 ![Screenshot_20180617-101544_Chrome](https://global.discourse-cdn.com/meta/original/3X/5/4/5466c68310fe057cef4a1fe1e002edea4abbe0b7.jpg)

---

<div class="post-metadata">

### Author: ![cpradio](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/cpradio/32/4970_2.png) [@cpradio](https://meta.discourse.org/u/cpradio)
#### Post date: [June 17, 2018, 3:34pm UTC](https://meta.discourse.org/t/experiencing-touch-offset-issues-replying-on-android/84086/21 "2018-06-17T15:34:44Z")

</div>

Okay a bit more info to reproduce.

Make sure to use a topic with 15ish posts.  
Click reply on the topic  
Enter a line or two of text  
Click topic title in reply window  
Quickly scroll to bottom  
Topic progress should be “off” (you see 14 of 20 instead of 20 of 20)  
Click in reply text box, offset should definitely happen.

(I’m struggling to hit reply right now using this technique)

[Next page](https://meta.discourse.org/t/experiencing-touch-offset-issues-replying-on-android/84086.md?page=2)
