Loading...
 
Skip to main content

Smartmenu are broken with an inner scroll inside dropdown menu

Status
Closed
Subject
Smartmenu are broken with an inner scroll inside dropdown menu
Version
29.x
Category
  • Bug
  • Regression
  • Easy for Newbie Dev
Feature
Menu
UI / UX (User interface and experience)
Resolution status
Fixed or Solved
Submitted by
Bernard Sfez / Tiki Specialist
Volunteered to solve
Moïse Nturubika
Lastmod by
Bernard Sfez / Tiki Specialist
Rating
(0)
Description

From matrix chat - Wed, Feb 25, 2026 and after

Sorry if that doesn't sound hard core dev, but I could salvage 2 Tiki29 I updated in the last 2 days, by discarding last changes (reverting) on these 4 files:

src/js/jquery-tiki/tiki-menu.js - Menu JavaScript functionality
templates/bootstrap_smartmenu.tpl - Main menu template
templates/bootstrap_smartmenu_children.tpl - Submenu template
themes/base_files/scss/_tiki-menus.scss - Menu styling (SCSS)
(I had to re-applied my own other fixes and custom)
If it help anyone...



Check also:

The relevant MR pages are https://gitlab.com/tikiwiki/tiki/-/merge_requests/8600 and https://gitlab.com/tikiwiki/tiki/-/merge_requests/9489 and link to the related task.

I've been trying to reproduce the problem in a Tiki 27 instance where Smartmenus work but so far haven't been able to. One problem I see in the image and video demonstrating the problem is a z-index issue with the menu dropdown displaying underneath the page header, so this blocks access to the top items of the dropdown. In my test with a fairly current branch 27, that is fixed so the top of the dropdown is accessible.

So in viewports taller than the dropdown, the whole dropdown displays. In viewports shorter than the dropdown, the cutoff end of the dropdown gets an up arrow (at the bottom of the viewport) or a down arrow (at the top of the viewport) to scroll the dropdown items.

So I don't see the original problem that needed solving. If I'm missing something, hopefully somebody can let me know.

ENHUX SmartMenus: Enable scrolling for long dropdowns to ensure all submenus are visible (!8600) · Merge requests · Tiki Wiki CMS Groupware / Tiki · GitLab - GitLab
Enable scrolling for long dropdowns in SmartMenus to ensure all submenus are visible Related task: https://avan.tech/item143455

FIX Admin dropdown menu being cut off near viewport bottom (!9489) · Merge requests · Tiki Wiki CMS Groupware / Tiki · GitLab - GitLab
Fix admin dropdown menu being cut off near viewport bottom Follow-up to



Image

Solution
Workaround
Importance
7
Easy to solve?
5
Priority
35
Demonstrate Bug on Tiki 19+
Demonstrate Bug (older Tiki versions)
Ticket ID
8950
Reviewed by Wishlist Team On
04 Mar 26 10:15 UTC
Created
Wednesday 04 March, 2026 10:07:55 UTC
by Bernard Sfez / Tiki Specialist
LastModif
Thursday 18 June, 2026 14:42:52 UTC


Show PHP error messages