? No Code Attached Yet
avatar arnaudgautron
arnaudgautron
7 Mar 2023

Steps to reproduce the issue

The issue was identified in Event Booking component but concerns Joomla 4 back-end template. When asking the development team, they told me it was a Joomla 4 back-end template issue so I write this bug report.

  • Having a long dropdown in back-end with more than 7 (?) items

Expected result

When opening dropdown, the list is supposed to jump to the selected item, even if it's "deep" in the list.
Screenshot from Joomla 3.10.11 (EventBooking 3.17.6)
Capture d’écran 2023-03-07 à 15 07 26
Capture d’écran 2023-03-07 à 15 08 05

Actual result

When opening dropdown, the list starts from the beginning. You have to scroll down to the selected item position.
Screenshot from Joomla 4.2.8 (EventBooking 4.4.2)
Capture d’écran 2023-03-07 à 15 08
Capture d’écran 2023-03-07 à 15 10 09

System information (as much as possible)

Joomla! 4.2.8 Stable [ Uaminifu ] 16-February-2023 15:00 GMT
PHP 8.0.28
Mozilla/5.0 (Macintosh; Intel Mac OS X 10.15; rv:109.0) Gecko/20100101 Firefox/110.0

Additional comments

In EventBooking, we add custom CSS to set the appearance of selected item in the list:

.choices__item--choice.is-selected:not(.is-highlighted)
{
background-color: var(--template-bg-dark);
color: white;
}

.choices__item--choice.is-selected.is-highlighted
{
background-color: var(--template-link-hover-color);
color: white;
} 
avatar arnaudgautron arnaudgautron - open - 7 Mar 2023
avatar joomla-cms-bot joomla-cms-bot - change - 7 Mar 2023
Labels Added: No Code Attached Yet
avatar joomla-cms-bot joomla-cms-bot - labeled - 7 Mar 2023
avatar Hackwar Hackwar - change - 8 Mar 2023
Labels Added: ?
avatar Hackwar Hackwar - labeled - 8 Mar 2023

Add a Comment

Login with GitHub to post a comment