Welcome to the LimeSurvey Community Forum

Ask the community, share ideas, and connect with other LimeSurvey users!

Question Index-Not scrolling

  • wizard2none
  • wizard2none's Avatar Topic Author
  • Offline
  • Junior Member
  • Junior Member
More
7 years 1 month ago #158686 by wizard2none
Question Index-Not scrolling was created by wizard2none
On a mobile device, I can get the Question Index to scroll by swiping.

On a PC I can't get it to scroll (i.e. mouse drags, scroll wheel, etc. not working).

My question is how do I get it to scroll on a device with a mouse (such as a PC)?
I need it to scroll since not all the question blocks are visible (i.e. showing 28 of the 40 blocks--so can't see the last 12 blocks).

LS version: 2.67.3 (Latest version hosted on limesurvey.org)
Template: Default

Thanks in advance.
The topic has been locked.
  • LouisGac
  • LouisGac's Avatar
  • Visitor
  • Visitor
7 years 1 month ago #158872 by LouisGac
Replied by LouisGac on topic Question Index-Not scrolling
this commit solves the problem:
github.com/LimeSurvey/LimeSurvey/commit/...d15c20ca0565fad55784

we'll release it today
The topic has been locked.
More
6 years 6 months ago #167184 by krosser
Replied by krosser on topic Question Index-Not scrolling

LouisGac wrote: this commit solves the problem:
github.com/LimeSurvey/LimeSurvey/commit/...d15c20ca0565fad55784

we'll release it today


I can see the code added to theme.css, but there's no scrolling in the question index. Is there anything that can be added/changed to make the scrolling work?

I'm on LimeSurvey 3.6.2

I'm using the latest LS 3.22 hosted on LS servers, not installed locally.
The topic has been locked.
  • Joffm
  • Joffm's Avatar
  • Offline
  • LimeSurvey Community Team
  • LimeSurvey Community Team
More
6 years 6 months ago #167187 by Joffm
Replied by Joffm on topic Question Index-Not scrolling
The commit Luis mentioned was for the 2.50 branch.

Joffm

Volunteers are not paid.
Not because they are worthless, but because they are priceless
The topic has been locked.
More
6 years 6 months ago #167188 by krosser
Replied by krosser on topic Question Index-Not scrolling
But if it was solved in the earlier version, then it should work now, shouldn't it?

I'm using the latest LS 3.22 hosted on LS servers, not installed locally.
The topic has been locked.
More
6 years 6 months ago #167190 by krosser
Replied by krosser on topic Question Index-Not scrolling

LouisGac wrote: in Bootswatch:
github.com/LimeSurvey/LimeSurvey/blob/ma...h/css/theme.css#L804

Vanilla:
github.com/LimeSurvey/LimeSurvey/blob/ma...a/css/theme.css#L746

Fruity:
github.com/LimeSurvey/LimeSurvey/blob/ma...y/css/theme.css#L818


Well, for example, I'm using Vanilla (extended).
So, I've just added to custom.css this code (even though it's already in theme.css)
Code:
/* Make sure question index menu is not too long. */
#index-menu ul.dropdown-menu {
    max-height: 50vh;
    overflow-y: scroll;
}

But I get no effect.

I'm using the latest LS 3.22 hosted on LS servers, not installed locally.
The topic has been locked.
  • LouisGac
  • LouisGac's Avatar
  • Visitor
  • Visitor
6 years 6 months ago #167191 by LouisGac
Replied by LouisGac on topic Question Index-Not scrolling
try to reduce 50vh to something else.
The topic has been locked.
More
6 years 6 months ago #167204 by krosser
Replied by krosser on topic Question Index-Not scrolling

LouisGac wrote: try to reduce 50vh to something else.


I've tried 40vh and 30vh. Still, no effect.

Well, it's written - "Make sure question index menu is not too long." .. so I wonder how long is too long? :)

I'm using the latest LS 3.22 hosted on LS servers, not installed locally.
The topic has been locked.
  • LouisGac
  • LouisGac's Avatar
  • Visitor
  • Visitor
6 years 6 months ago #167208 by LouisGac
Replied by LouisGac on topic Question Index-Not scrolling
try by using pixels instead of vh.
like 200px
The topic has been locked.
More
6 years 6 months ago #167229 by krosser
Replied by krosser on topic Question Index-Not scrolling

LouisGac wrote: try by using pixels instead of vh.
like 200px


This didn't work either.

I'm using the latest LS 3.22 hosted on LS servers, not installed locally.
The topic has been locked.
  • LouisGac
  • LouisGac's Avatar
  • Visitor
  • Visitor
6 years 6 months ago #167233 by LouisGac
Replied by LouisGac on topic Question Index-Not scrolling
ok, could you please attach the survey so we can do some testing here?
The topic has been locked.
Moderators: tpartnerholch

Lime-years ahead

Online-surveys for every purse and purpose