Android copy/paste menu covers quote reply button

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 Likes

Same issue on iOS, because of the popup above.

1 Like

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 Like

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 Likes

Fixed!

https://github.com/discourse/discourse/blob/6dd6bbd5095659f46cfadc149d18902253c2eb02/app/assets/javascripts/discourse/controllers/quote-button.js.es6#L89-L94

1 Like

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 Likes

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 Likes

For your reference, this might be helpful:

2 Likes