View Issue Details

This issue affects 1 person(s).
 0
IDProjectCategoryView StatusLast Update
20645Bug reportsTheme editorpublic2026-08-10 18:00
ReporterFreda Assigned ToDenisChenu  
PrioritynoneSeverityminor 
Status assignedResolutionopen 
Product Version7.0.x 
Summary20645: Fruity theme hides selected value in Bootstrap Select dropdown on hover
Description

When using a Bootstrap dropdown (Type: !) in the Fruity theme, the selected answer becomes invisible while the mouse cursor is hovering over the dropdown.

The selected value is still present in the DOM and the Bootstrap Select component retains the correct value. However, the value is not visually displayed while the dropdown button is in its hover/focus/active state.

As soon as the cursor is moved away from the dropdown, the selected value becomes visible again.

(attached is a video of the behavior and a .lss file)

Steps To Reproduce

Steps to reproduce

  • Use a survey with the Fruity theme.
  • Add a question using a Bootstrap dropdown question type.
  • Open the dropdown and select an option.
  • Keep the cursor over the dropdown.
  • Observe that the dropdown appears to contain an empty space instead of displaying the selected value.
  • Move the cursor to another question.
  • The selected value becomes visible again.

Expected result

The selected value should remain visible when the Bootstrap Select control is hovered, focused, or active.

Actual result

The selected value disappears visually while the dropdown is hovered.

The value remains present in the HTML, for example:

<button type="button"
class="btn dropdown-toggle border"
role="combobox"
title="3">
<div class="filter-option">
<div class="filter-option-inner">
<div class="filter-option-inner-inner">3</div>
</div>
</div>
</button>

The selected option is also correctly marked:

<a role="option"
class="dropdown-item selected active"
aria-selected="true">
<span class="text">3</span>
</a>

Cause

The Fruity theme contains the generic rule: (theme.css)

.btn:focus, .btn:hover {
color: #fff;
}

Bootstrap Select uses a .btn.dropdown-toggle for the dropdown control. Consequently, the generic Fruity .btn:hover rule also applies to the Bootstrap Select control and changes its text color when hovered.

This causes the selected value to become visually hidden against the dropdown background.

Suggested fix

The generic Fruity .btn:hover / .btn:focus styling should not override the text color of Bootstrap Select dropdown controls.

A scoped rule for .bootstrap-select > .dropdown-toggle, or an adjustment to the generic .btn styling, should prevent the selected value from becoming invisible.

TagsNo tags attached.
Attached Files
Bug heat0
Complete LimeSurvey version number (& build).
I will donate to the project if issue is resolvedNo
Story point estimate0
Browser
Database type & version.
Server OS (if known)
Webserver software & version (if known)
PHP Version.

Users monitoring this issue

There are no users monitoring this issue.

Activities

Issue History

Date Modified Username Field Change
2026-08-10 17:33 Freda New Issue
2026-08-10 17:33 Freda File Added: Screen Recording 2026-08-10 at 17.30.47.mov
2026-08-10 17:33 Freda File Added: limesurvey_survey_269588.lss
2026-08-10 18:00 tibor.pacalat Assigned To => DenisChenu
2026-08-10 18:00 tibor.pacalat Status new => assigned