View Issue Details

This issue affects 1 person(s).
 4
IDProjectCategoryView StatusLast Update
20399Bug reportsUsability/user experiencepublic2026-03-27 12:13
ReporterAdrian Assigned Tostefankotes  
PrioritynoneSeverityminor 
Status resolvedResolutionfixed 
Product Version6.16.x 
Summary20399: Question Admin Sidebar (left) - "selected" css class applied to all questions of a group
Description

Problem:

  • In the left admin sidebar listing of questions, all questions of a group have a "selected" class applied.
  • This makes it impossible to isolate the actual selected question to style it differently so the user knows which question is selected in the sidebar.

Expected Behaviour:

  • Only the active selected question should have the "selected" css class applied.
Steps To Reproduce

Steps to reproduce

  • Create a Group
  • Create two questions in the group
  • Click on one question and inspect the HTML for that question and noted that both questions have the "selected" css class applied to them:
<li data-bs-toggle="tooltip" data-questiontype="M" data-has-condition="true" title="" class="list-group-item question-question-list-item ls-flex-row align-itmes-flex-start selected " data-bs-original-title="Test question 2">

Expected result

  • Only the selected question should have "selected" or "selected-active" applied to it so that we can target that element in CSS and give it a clear visual cue to the user that it's the selected question.

Actual result

  • All questions are tagged as selected in the sidebar.
TagsNo tags attached.
Bug heat4
Complete LimeSurvey version number (& build)6.16.3+251215
I will donate to the project if issue is resolvedNo
BrowserChrome, Safari
Database type & versionMySQL 8.x
Server OS (if known)Ubuntu / Linux
Webserver software & version (if known)Apache 2.x
PHP VersionPHP 8.3

Users monitoring this issue

There are no users monitoring this issue.

Activities

stefankotes

stefankotes

2026-03-23 09:42

developer   ~84510

Hi Adrian,

A fix has been submitted to properly fetch last Question ID accessed as the logic for adding a class to the current active element exists.
Please use #questionexplorer .question-question-list-item.activated to find the active selected menu item.

guest

guest

2026-03-27 12:10

viewer   ~84546

Fix committed to master branch: http://bugs.limesurvey.org/plugin.php?page=Source/view&id=39473

Related Changesets

LimeSurvey: master 33b65b0b

2026-03-27 12:10

Stefan K

Committer: GitHub


Details Diff
Fixed issue 20399: CSS class not applied to active menu items (04805) Affected Issues
20399
mod - assets/packages/adminsidepanel/build.min/css/adminsidepanel.css Diff File
mod - assets/packages/adminsidepanel/build.min/css/adminsidepanel.rtl.css Diff File
mod - assets/packages/adminsidepanel/build.min/js/adminsidepanel.js Diff File
mod - assets/packages/adminsidepanel/build/css/adminsidepanel.css Diff File
mod - assets/packages/adminsidepanel/build/css/adminsidepanel.rtl.css Diff File
mod - assets/packages/adminsidepanel/build/js/adminsidepanel.js Diff File
mod - assets/packages/adminsidepanel/src/components/sidebar.vue Diff File

Issue History

Date Modified Username Field Change
2026-01-11 16:22 Adrian New Issue
2026-01-12 17:48 DenisChenu Category Question editor => Usability/user experience
2026-02-28 00:34 c_schmitz Product Version 6.12.x => 6.16.x
2026-03-23 09:27 stefankotes Assigned To => stefankotes
2026-03-23 09:27 stefankotes Status new => assigned
2026-03-23 09:42 stefankotes Note Added: 84510
2026-03-23 09:42 stefankotes Bug heat 0 => 2
2026-03-23 09:45 stefankotes Status assigned => ready for code review
2026-03-27 12:10 Changeset attached => LimeSurvey master 33b65b0b
2026-03-27 12:10 guest Note Added: 84546
2026-03-27 12:10 guest Bug heat 2 => 4
2026-03-27 12:13 stefankotes Status ready for code review => resolved
2026-03-27 12:13 stefankotes Resolution open => fixed