Page MenuHomePhabricator

Description preview shows "Loading preview..." but doesn't load the preview in mobile site of phabricator
Closed, ResolvedPublic

Description

When Creating a task using the mobile site of Phabricator, the Description preview box that shows the preview of the contents in the Decscription box shows Loading preview... but does not load the preview.

Screen shot showing the message

Description preview.png (800×480 px, 40 KB)

Expected results
The decription preview is displayed

Actual results
Loaing preview... message is displayed

Event Timeline

Works without a problem on desktop Firefox 50 on https://phabricator.wikimedia.org/maniphest/task/edit/form/1/ with a screen width of 480px.
Cannot reproduce. Browser information is welcome.

Works without a problem on desktop Firefox 50 on https://phabricator.wikimedia.org/maniphest/task/edit/form/1/ with a screen width of 480px.
Cannot reproduce. Browser information is welcome.

Please try with any of the browsers in your mobile because resizing the browser window and the mobile view shown in a mobile browser are not the same.

Aklapper triaged this task as Lowest priority.Nov 22 2016, 2:59 PM
Aklapper added a project: Mobile.

Confirming with the browser on my mobile phone.

Their JS has:

JX.behavior('remarkup-preview', function(config) {
    if (JX.Device.getDevice() !== 'desktop') {
        return;
}

Should be filed upstream.

I can reproduce this on desktop (Ubuntu 16.04.2) using both Firefox (52.0.1) and Chrome (57.0.2987.110). The limit is around 900 pixels wide.

Aklapper edited projects, added Phabricator (Upstream); removed Phabricator.

Mobile view now offers a toggle button instead:

Снимок_Экрана_20180727_001.png (960×540 px, 69 KB)