# 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:** 2

<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:48pm UTC](https://meta.discourse.org/t/experiencing-touch-offset-issues-replying-on-android/84086/22 "2018-06-17T15:48:38Z")

</div>

More info. It seems to only impact initial load.

I’ve had to exit chrome to reproduce again.

Exit Chrome  
Reopen  
Navigate to Meta  
Navigate to topic  
Reply to Topic  
Enter a line or 3 of text  
Click title  
Scroll to bottom quickly  
Click text box to focus on reply  
Offset occurs

To fix:  
Navigate away from topic (latest)  
Refresh page (composer should disappear)  
Navigate to topic (composer restores)  
Hit reply

Once it is fixed I can’t get it to happen without closing chrome. It seems something in the initial setup of composer is causing this. Not sure what though.

---

<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, 4:36pm UTC](https://meta.discourse.org/t/experiencing-touch-offset-issues-replying-on-android/84086/23 "2018-06-17T16:36:01Z")

</div>

Our members tried your combo but cannot reproduce 😑

---

<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, 4:51pm UTC](https://meta.discourse.org/t/experiencing-touch-offset-issues-replying-on-android/84086/24 "2018-06-17T16:51:50Z")

</div>

Cannot reproduce what? The fix or the issue?

---

<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, 5:01pm UTC](https://meta.discourse.org/t/experiencing-touch-offset-issues-replying-on-android/84086/25 "2018-06-17T17:01:08Z")

</div>

They tried To do the manipulation but the bug did not happen.  
The description seems to be our issue. There is a vertical offset and to be able to reply they should click 2cm below the bottom of their screen

---

<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, 8:29pm UTC](https://meta.discourse.org/t/experiencing-touch-offset-issues-replying-on-android/84086/28 "2018-06-17T20:29:07Z")

</div>

Can you repro this @falco? I will try to repro later tonight with my test Android device when I am back home.

---

<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 18, 2018, 5:58am UTC](https://meta.discourse.org/t/experiencing-touch-offset-issues-replying-on-android/84086/29 "2018-06-18T05:58:04Z")

</div>

Ok just made it reproductible on my lg G5.  
I just have To scroll UP to have a google overlay on bottom that propose me to translate the page to french. At that point the offset occurs at each try.  
On the video posted by one of our member. A google overlay is also visible at some point.  
https://www.youtube.com/embed/T4CoEkgpJXI?feature=oembed&wmode=opaque

---

<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 19, 2018, 4:31am UTC](https://meta.discourse.org/t/experiencing-touch-offset-issues-replying-on-android/84086/30 "2018-06-19T04:31:57Z")

</div>

@codinghorror @Falco did you succeeded to repro ?

---

<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: [June 19, 2018, 8:53pm UTC](https://meta.discourse.org/t/experiencing-touch-offset-issues-replying-on-android/84086/31 "2018-06-19T20:53:11Z")

</div>

Yes, I just managed to repro this on the Discourse China website.

Only affects the composer modal, which will have the vertical offset.

This looks like a Chrome bug because even the Chrome Inspector goes crazy:

Where the textarea is:

 ![image](https://global.discourse-cdn.com/meta/original/3X/b/5/b5ca303f84b76ba8015d16553c44cdf4801590af.png)

Upload button:

 ![image](https://global.discourse-cdn.com/meta/original/3X/0/8/08586d7ebec0955ff72c2769ac4a8305ce1ec057.png)

---

<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 19, 2018, 9:17pm UTC](https://meta.discourse.org/t/experiencing-touch-offset-issues-replying-on-android/84086/32 "2018-06-19T21:17:40Z")

</div>

Can we use the mitigation @sam suggested?

---

<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: [June 19, 2018, 9:20pm UTC](https://meta.discourse.org/t/experiencing-touch-offset-issues-replying-on-android/84086/33 "2018-06-19T21:20:41Z")

</div>

It’s like a race between the location bar and the Google Chrome Translate bar.

I’m testing if changing:

```plaintext
#reply-control { position: fixed; }

```

to

```plaintext
#reply-control { position: absolute; }

```

fixes it.

EDIT: won’t work.

---

<div class="post-metadata">

### Author: ![sam](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/sam/32/102149_2.png) [@sam](https://meta.discourse.org/u/sam)
#### Post date: [June 19, 2018, 9:55pm UTC](https://meta.discourse.org/t/experiencing-touch-offset-issues-replying-on-android/84086/34 "2018-06-19T21:55:26Z")

</div>

Is this a chrome bug? should it simply be reported to chrome first?

---

<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: [June 19, 2018, 9:57pm UTC](https://meta.discourse.org/t/experiencing-touch-offset-issues-replying-on-android/84086/35 "2018-06-19T21:57:42Z")

</div>

I got some simple steps to repro:

1. Go to a long topic (this topic here works)
2. Open Composer
3. Scroll until a new post chunk is loaded.
4. The click are for modals will be offset from the screen position. (You can do this in both ways, so they are draw above or below if you trigger the bug going up or down).

---

<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 19, 2018, 10:10pm UTC](https://meta.discourse.org/t/experiencing-touch-offset-issues-replying-on-android/84086/37 "2018-06-19T22:10:08Z")

</div>

> [@Falco](#):
>
> - Go to a long topic (this topic here works)
> - Open Composer
> - Scroll until a new post chunk is loaded.
> - The click are for modals will be offset from the screen position. (You can do this in both ways, so they are draw above or below if you trigger the bug going up or down).

This does not repro for me on oneplus 6, updated to latest. Here’s what I did:

- clicked on the post count and selected the first post to enter this topic at the top
- opened composer by pressing reply on the first post
- scrolled to the bottom of the topic

I don’t see any offset on taps there?

---

<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 19, 2018, 10:22pm UTC](https://meta.discourse.org/t/experiencing-touch-offset-issues-replying-on-android/84086/38 "2018-06-19T22:22:26Z")

</div>

For the record, mine didn’t require a translation bar but I also think this is a chrome bug because it’s being reported at sitepoint and I know they are not on latest.

Edit: l just had it happen to me visiting this topic immediately and doing nothing else. I used speech to text which might have impacted it but further goes along with this being a chrome issue

---

<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: [June 19, 2018, 10:28pm UTC](https://meta.discourse.org/t/experiencing-touch-offset-issues-replying-on-android/84086/39 "2018-06-19T22:28:06Z")

</div>

> [@cpradio](#):
>
> For the record, mine didn’t require a translation bar but I also think this is a chrome bug because it’s being reported at sitepoint and I know they are not on latest.

Same thing.

All you need is the address bar on Chrome auto-hiding and eventually it will desync divs that user either position fixed or sticky.

[![](https://global.discourse-cdn.com/meta/original/4X/f/f/c/ffc5b6287f1676486f3776e04f2b254714f72e31.jpeg "Discourse Bug") ](https://www.youtube.com/watch?v=te6G9_AFUDM)

I never experienced this before because I use the WebAPKs that doesn’t have the location bar.

---

<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 19, 2018, 10:49pm UTC](https://meta.discourse.org/t/experiencing-touch-offset-issues-replying-on-android/84086/40 "2018-06-19T22:49:29Z")

</div>

I’ve followed that video as precisely as I can, 3 times, and **I just can’t get this to repro** on OnePlus 6, latest everything, device at all defaults (I unboxed it, updated it to latest versions of apps/OS, then loaded Chrome).

So I wonder if it is an internal Android / Chrome timing issue of some kind?

I do think your theory of the address bar de-syncing sounds correct, since the offset appears to be exactly the address bar size.

---

<div class="post-metadata">

### Author: ![sam](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/sam/32/102149_2.png) [@sam](https://meta.discourse.org/u/sam)
#### Post date: [June 19, 2018, 10:55pm UTC](https://meta.discourse.org/t/experiencing-touch-offset-issues-replying-on-android/84086/41 "2018-06-19T22:55:30Z")

</div>

Possible related bugs:

[https://bugs.chromium.org/p/chromium/issues/detail?id=848122](https://bugs.chromium.org/p/chromium/issues/detail?id=848122)  
[https://bugs.chromium.org/p/chromium/issues/detail?id=846322](https://bugs.chromium.org/p/chromium/issues/detail?id=846322)  
[https://bugs.chromium.org/p/chromium/issues/detail?id=821191](https://bugs.chromium.org/p/chromium/issues/detail?id=821191)

---

<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 19, 2018, 11:40pm UTC](https://meta.discourse.org/t/experiencing-touch-offset-issues-replying-on-android/84086/42 "2018-06-19T23:40:17Z")

</div>

OK! Here’s one thing I _can_ repro, OnePlus 6, everything at latest updated versions:

 ![image](https://global.discourse-cdn.com/meta/original/3X/2/6/26545b8e2938012f819e9a75b3ba044e72ad6d29.jpg)

When **the Chrome address bar is suppressed (via scrolling down)**, I cannot tap on the bottom-most area in the Chrome viewport where the minimized composer is. It’s physically impossible, my taps don’t register at all!

I have to scroll the viewport up, to bring the Chrome address bar back. Then, and _only_ then, am I able to tap on the area at the bottom of the viewport where the minimized composer is.

So the repro is:

1. Start composing a reply, type some text in the reply box
2. Minimize composer.
3. Scroll down ↓ to force the address bar to disappear.
4. Try tapping on the minimized composer at the bottom of the viewport; you won’t be able to.
5. Scroll up ↑ to force the address bar to reappear.
6. Try tapping on the minimized composer at the bottom of the viewport, it will work fine.

TL;DR there appear to be internal bugs in Android Chrome around the address bar appearing or not appearing, causing it to calculate taps wrong, offset by exactly the address bar height. As a workaround, make sure the address bar is visible by scrolling ↑ up.

---

<div class="post-metadata">

### Author: ![sgrif](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/sgrif/32/119830_2.png) [@sgrif](https://meta.discourse.org/u/sgrif)
#### Post date: [June 20, 2018, 12:14am UTC](https://meta.discourse.org/t/experiencing-touch-offset-issues-replying-on-android/84086/43 "2018-06-20T00:14:34Z")

</div>

Just tried to reproduce and could not. Opened fine when I tapped it with the address bar hidden. Pixel 2 XL

---

<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 20, 2018, 12:17am UTC](https://meta.discourse.org/t/experiencing-touch-offset-issues-replying-on-android/84086/44 "2018-06-20T00:17:15Z")

</div>

What version of Chrome and Android? I should have reported mine..

Chrome 67.0.3396.87  
Android 8.1.0

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

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