Select2 dropdown overlaps Gin menu when open

Created on 12 April 2023, over 1 year ago
Updated 28 April 2023, over 1 year ago

Problem/Motivation

When using the latest Gin version 3.0.0-rc2 and Select2 8.x-1.14 there is a z-index issue with the dropdown and Gin admin menu.

If you keep the Select2 dropdown open and at the same time open the Gin admin toolbar, the Select2 menu overlaps the admin sidebar menu.

Steps to reproduce

1. Install the latest version of Gin and Select2.
2. Create a taxonomy select field and select the Select2 widget.
3. Start creating a content and open the Select2 dropdown. Keep the dropdown open and hover over the admin menu to open the submenus.
4. The Select2 dropdown z-index is larger and it overlaps the menu.

Proposed resolution

Select2 should use a lower z-index value not to overlap the admin menu.

Remaining tasks

Change the Select2 styles to work together with Gin theme.

🐛 Bug report
Status

RTBC

Version

1.14

Component

Field widgets

Created by

🇫🇮Finland heikkiy Oulu

Live updates comments and jobs are added and updated live.
  • Quick fix

    Very small and simple change. Preferred over Quickfix.

Sign in to follow issues

Comments & Activities

Production build 0.71.5 2024