Page MenuHomePhabricator

Toggle buttons in Phabricator don't work on mobile (affects: Login, Search)
Closed, ResolvedPublic

Description

I've experienced this repeatedly over the past week on Chrome for iOS. It seems some kind of JavaScript is handling touch/click events in a strange way.

When tapping on the "Developer Log In" button, the LDAP log in form appears but then immediately disappears again. The same also happens for the search icon and the search bar, they almost impossible to keep open.

I can sometimes get it to work when long-pressing on the button and then slowly dragging away from the button. Given it affects multiple buttons in Phabricator (not just our custom login), I assume this is an upstream bug.

Event Timeline

I've experienced the same in Chrome (68) on Android.

Framawiki added subscribers: epriestley, Framawiki.

Pinging my personal-human-upstream-gateway: @epriestley :)

mmodell edited subscribers, added: mmodell; removed: epriestley.

This is a wmf customization, not upstream.

I apologize. I didn't read the last sentence of the description. :(

What other phabricator buttons are affected?

@Framawiki: Please do not generally CC upstream developers for small bugs. You are free to report bugs to upstream instead, or they are free to subscribe themselves to tasks in our issue tracker. Thanks.

@Framawiki: Please do not generally CC upstream developers for small bugs. You are free to report bugs to upstream instead, or they are free to subscribe themselves to tasks in our issue tracker. Thanks.

Hello @Aklapper. Where can I create a bug upstream for phabricator ?

I believe this will be (partially?) fixed upstream by the 2019 Week 13 release. See https://secure.phabricator.com/D20343 for particulars.

(This may or may not fix everything mentioned in this task, but should fix the "Search" icon in the main menu bar, at least. It may fix customizations if they use the jx-toggle-class behavior.)

We deployed the fix that Evan mentioned on phabricator.wikimedia.org. I cannot make the problem happen on my mobile phone (I tried a Mozilla based browser and a WebKit based browser), so I assume this is resolved.

However, as my phone does not run Android or iOS or such, please reopen this task if you can still reproduce this problem. Thanks!

I used to have issues opening the search bar. On cursory testing, this does seem to be fixed i.e., I am able to tap on search and the search bar shows up as intended without issues. 🎉