Android copy/paste menu covers quote reply button

AI-generated summary

Android copy/paste menu covers quote reply button, preventing users from quoting text in replies. This issue is not exclusive to Android, as codinghorror has also reported the same problem on iOS.

codinghorror suggests a solution by adjusting the device detection to include isAndroid in addition to isMobileDevice and isIOS.

A possible fix has been implemented by tgxworld, but it may not be suitable for larger Android tablets. tgxworld will confirm if the fix works for Android devices.

To improve device detection, DeanMarkTaylor shared Google Chrome user agent detection recommendations for distinguishing between Android phones and tablets.

Reproduce:

  1. On a device running Android 6.0.1 (Google Pixel C here), or iOS (thanks @codinghorror) open a Discourse topic.
  2. Highlight text you want to quote in your reply.
  3. Attempt to use the grey “Quote Reply” button.

Expected Results:

  • The quote reply button is available and works.

Actual Results:

  • The quote reply button is blocked by the Android copy/paste context menu, as shown in this image:

3 Me gusta

Same issue on iOS, because of the popup above.

1 me gusta

Still an issue

I remember at some point we moved this below, I wonder what happened

We should definitely move it below, we have no choice on mobile.

1 me gusta

This looks moved to me now? Did you take this already @tgxworld?

Nope, try selecting one word, or starting at opposite dir

Still showing button below on my iPhone 6s… even when I select a single word on the same line..

On iPad safari

Not yet. Will look at it this week.

Yeah but that’s desktop not mobile layout. I have multiple screenshots of it doing below on the iPhone 6s.

So perhaps then the “fix” is “behave like mobile here in all cases and place the button below”.

2 Me gusta

Fixed!

1 me gusta

Kind of – depends if we classify Android as “mobile” or not, which might be a problem for the few rare larger Android tablets.. not a problem at the moment since we almost completely lump all Android devices into mobile, but may not be that way in the future, which would make the OP a bug again.

2 Me gusta

O wait I didn’t notice OP was on Android. Let me confirm.

Conceptually, I kinda think it should be

if (isMobileDevice || isIOS || isAndroid)

Since there are “not-mobile” devices in both categories, yes?

3 Me gusta

For your reference, this might be helpful:

2 Me gusta