View Issue Details

This issue affects 1 person(s).
 10
IDProjectCategoryView StatusLast Update
04847Bug reportsSurvey takingpublic2011-01-12 19:31
Reporteruser11413Assigned Totpartner  
PriorityhighSeverityminor 
Status closedResolutionfixed 
Product Version1.90+ 
Summary04847: Hidden questions push content off page when made visible on an iPad
Description

if you have a hidden question that is made visible when you answer another question, it will push the page content down to display that question.. however it will cut off all content that is the length equal to the hidden question.

Steps To Reproduce

Create a number of questions, make the second question hidden and conditionally visible on the first question. Load up an iPad and then make the question appear. Scroll down and you'll see the Limesurvey controls are gone (since they're at the bottom).

Additional Information

Very simple fix:
When questions are hidden they are set to visible with inline javascript (on a per question basis) like this:
document.getElementById('question3140').style.display='';

it should be done like this:

document.getElementById('question3140').style.display='block';

if you explicitly set the display style to block when going from an "none" state, the iPad will properly render visible & hidden content.

TagsNo tags attached.
Bug heat10
Complete LimeSurvey version number (& build)9642
I will donate to the project if issue is resolvedYes
Browser
Database type & versionmysql 5
Server OS (if known)ubuntu
Webserver software & version (if known)apache
PHP Version5
Git branch / Pull Request URL

Users monitoring this issue

jwilliams586

Activities

DenisChenu

DenisChenu

2011-01-06 14:15

developer   ~13850

Hello,

I have a remark for this patch.

If someone do a template with inline part, then this patch put this template bad.
:)

jwilliams586

jwilliams586

2011-01-06 19:11

reporter   ~13851

I have this issue as well. I will donate if it is fixed.

tpartner

tpartner

2011-01-11 20:38

partner   ~13880

Last edited: 2011-01-11 20:38

As Shnoulle points out, this patch would effectively destroy templates that have questions displayed inline and that use conditions.

Should this perhaps be considered an iPad bug, not a LimeSurvey bug?

Thoughts?

c_schmitz

c_schmitz

2011-01-12 18:11

administrator   ~13883

In my point of view this is a bug in the iPad browser.
The only thing you can try is to CSS-style the question elements, for example by settings a min-width and so maybe forcing a block mode.

Best would be to report this behaviour to Apple.

tpartner

tpartner

2011-01-12 19:31

partner   ~13888

I agree. Thanks everyone for their input.

Issue History

Date Modified Username Field Change
2011-01-06 01:51 user11413 New Issue
2011-01-06 14:15 DenisChenu Note Added: 13850
2011-01-06 19:11 jwilliams586 Note Added: 13851
2011-01-06 19:11 jwilliams586 Issue Monitored: jwilliams586
2011-01-07 20:34 c_schmitz Assigned To => tpartner
2011-01-07 20:34 c_schmitz Status new => assigned
2011-01-11 20:38 tpartner Note Added: 13880
2011-01-11 20:38 tpartner Note Edited: 13880
2011-01-12 18:11 c_schmitz Note Added: 13883
2011-01-12 19:31 tpartner Note Added: 13888
2011-01-12 19:31 tpartner Status assigned => closed
2011-01-12 19:31 tpartner Resolution open => fixed