Loading...
 
Skip to main content

Buttons with dropdowns now display an unordered list bullet

Status
Closed
Subject
Buttons with dropdowns now display an unordered list bullet
Version
master
Category
  • Regression
Feature
UI / UX (User interface and experience)
Resolution status
Fixed or Solved
Submitted by
Gary Cunningham-Lee
Lastmod by
Gary Cunningham-Lee
Rating
(0)
Description

Buttons with a dropdown menu, such as the page actions button, have been changed in master compared to earlier versions, with different HTML. The earlier version is like this:

Copy to clipboard
<div class="blogactions"> <div class="btn-group"> <a class="btn btn-info btn-sm dropdown-toggle" data-bs-toggle="dropdown" data-hover="dropdown" href="#" title="Blog actions" aria-expanded="false"> <span class="icon icon-menu-extra fas fa-ellipsis-v "></span> </a> <div class="dropdown-menu"> <h6 class="dropdown-header"> Blog Actions </h6> <div class="dropdown-divider"></div>


The code in master is like this:

Copy to clipboard
<div class="actions blogpostactions float-end btn-group"> <ul><li> <a class="btn btn-info btn-sm dropdown-toggle" data-bs-toggle="dropdown" href="#" title="Blog post actions"> <span class="icon icon-menu-extra fas fa-ellipsis-v "></span> </a> <div class="dropdown-menu"> <h6 class="dropdown-header"> Blog post actions </h6> <div class="dropdown-divider"></div>


I don't know the reason for the change, but there is now, in master, a ul that doesn't have any class to remove the bullet. Was adding the ul necessary? (I think it's best to stick with the Bootstrap methods as much as possible.) If it was necessary, the ul should have the dropdown-menu class, for styling purposes.

Solution
Seems fixed in master
Workaround
Importance
9
Easy to solve?
8
Priority
72
Demonstrate Bug on Tiki 19+
Demonstrate Bug (older Tiki versions)
Ticket ID
8708
Created
Tuesday 08 October, 2024 14:34:39 UTC
by Gary Cunningham-Lee
LastModif
Friday 25 October, 2024 12:08:48 UTC


Show PHP error messages