Issue with radio buttons moving with the window scroll


Author
Message
Connorrr
Connorrr
Esteemed Member (1.5K reputation)Esteemed Member (1.5K reputation)Esteemed Member (1.5K reputation)Esteemed Member (1.5K reputation)Esteemed Member (1.5K reputation)Esteemed Member (1.5K reputation)Esteemed Member (1.5K reputation)Esteemed Member (1.5K reputation)Esteemed Member (1.5K reputation)
Group: Forum Members
Posts: 28, Visits: 164
Hi David, I just ran the script I sent you on a Mac laptop and it seems like the bug is persistent.  I've found that when I have the cursor on the radio button and then scroll the page will scroll as normal but if I have the cursor anywhere other than hovering on top of the radio button the text will scroll but the radio buttons will stay in the original position.  Unfortunately, on smaller monitors this means that some questions cannot be accessed.
Dave
Dave
Supreme Being (1M reputation)Supreme Being (1M reputation)Supreme Being (1M reputation)Supreme Being (1M reputation)Supreme Being (1M reputation)Supreme Being (1M reputation)Supreme Being (1M reputation)Supreme Being (1M reputation)Supreme Being (1M reputation)
Group: Administrators
Posts: 13K, Visits: 104K
Connorrr - 9/7/2021
Hi David, I just ran the script I sent you on a Mac laptop and it seems like the bug is persistent.  I've found that when I have the cursor on the radio button and then scroll the page will scroll as normal but if I have the cursor anywhere other than hovering on top of the radio button the text will scroll but the radio buttons will stay in the original position.  Unfortunately, on smaller monitors this means that some questions cannot be accessed.

I conferred with our lead macOS developer and the verdict is that this issue is caused by API behavior changes in certain macOS veresions post-dating the final Inquisit 5 release.
Short of switching to Inquisit 6, the only workaround is to effecitively eliminate the need for scrolling. The options to achieve that are:
- Reducing amount of questions per page,
- A smaller fontsize at the <surveypage> level (e.g. / fontstyle = ("Arial", 1.5%, false, false, false, false, 5, 1), or
- Reducing /itemspacing at the <survey>-level.

The latter is probably the quickest and easiest fix, e.g. itemspacing values anywhere between 1% and 2% should probably do the trick:

<survey FCQ_S2>
/ itemspacing = 1%
/pages = [

    1 = SP_6;
    
    1 = SP_7_1;
    1 = SP_7_2;
    1 = SP_7_3;
    1 = SP_7_4;
    1 = SP_7_5;
    1 = SP_7_6;
    
    1 = SP_8_1;
    1 = SP_8_2;
    1 = SP_8_3;
    1 = SP_8_4;
    1 = SP_8_5;
    1 = SP_8_6;
    
    1 = SP_9_1;
    1 = SP_9_2;
    1 = SP_9_3;
    1 = SP_9_4;
    
    1 = SP_10_1;
    1 = SP_10_2;
    1 = SP_10_3;
    1 = SP_10_4;
    1 = SP_10_5;
    1 = SP_10_6;
    
    1 = SP_11_1;
    1 = SP_11_2;
    1 = SP_11_3;
    1 = SP_11_4;
    1 = SP_11_5;
    
    1 = SP_12_1;

    1 = SP_13_1;
    1 = SP_13_2;
    1 = SP_13_3;
    1 = SP_13_4;
    1 = SP_13_5;
    1 = SP_13_6;
    1 = SP_13_7;
    1 = SP_13_8;
    1 = SP_13_9;
    1 = SP_13_10;
    1 = SP_13_11;
    1 = SP_13_12;
    1 = SP_13_13;
    
    1 = SP_14_1;
    1 = SP_14_2;
    1 = SP_14_3;
    
    1 = SP_15_1;
    1 = SP_15_2;
    1 = SP_15_3;
    1 = SP_15_4;
    1 = SP_15_5;
    
    1 = SP_16_1;

]
/screencapture = false
/ onblockend = [
    values.completed = 1;
]
/ navigationbuttonfontstyle = ("Arial", 1.5%, false, false, false, false, 5, 1)
/ navigationbuttonsize = (15%, 5%)
/ backbuttonposition = (20%, 90%)
/ nextbuttonposition = (70%, 90%)
/ finishlabel = "Finish"
</survey>



GO

Merge Selected

Merge into selected topic...



Merge into merge target...



Merge into a specific topic ID...




Reading This Topic

Explore
Messages
Mentions
Search