Gear icon is not visible in manage form or display

Created on 30 January 2024, 11 months ago
Updated 22 June 2024, 6 months ago

Problem/Motivation

Hi,
When there is any modal, the gear icon disappears in the management form or management display
I haven't tested other paths but the Gear icon is missing when there are modals in the pages with /admin/* path.
When I delete the modal, the gear icon comes back and I regain the ability to edit it.
Any idea, please?

🐛 Bug report
Status

Active

Version

5.0

Component

Code

Created by

Live updates comments and jobs are added and updated live.
Sign in to follow issues

Comments & Activities

  • Issue created by @jaydenpearly
  • 🇧🇷Brazil renatog Campinas

    Strange. Just tested on simplytest.me and it worked as screenshot

    Do you mind confirming that is the same icon, please?

  • 🇬🇧United Kingdom jaydenpearly

    Hi, thanks for reply.
    Yes, it's the same icon. I tested it with another website with the same configuration. But the icon still does not appear. Then, if it is running on your system, I think it intersects with another module or setting in my admin configuration. I'll let you know when I find it.
    By the way, I encounter the same problem when I use gin or claro as admin theme. But when I use Barrio custom subtheme(my default front-end theme) as the admin theme, the icon appears. I don't know if the setting(gear-icon) is visible because it is the frontend interface.

  • 🇧🇷Brazil renatog Campinas

    Probably is a conflict in the bootstrap library

    Explanation

    • When you put Modal to appear on /admin/* it loads BS automatically on admin pages
    • If your Modal isn’t /admin/* it don’t load
    • When don’t load it works
    • So probably is a conflict

    If you want to make sure:

    1. Open Modal Global Settings
    2. Mark the settings to “don’t load bootstrap automatically”
    3. Save
    4. Put Modal in /admin/*
    5. Verify the gear icon

    P.S. it isn’t the final fix, is just a test to confirm that is a conflict on BS library

    If you already has BS library being loaded in other project your Modal can works even disabling this option

  • 🇬🇧United Kingdom jaydenpearly

    OK, It's about Bootstrap version.
    There's no problem with Barrio because it uses Bootstrap5 (local or cdn)
    But admin themes like Gin and Claro only worked with Bootstrap3 option. Check screenshot, please.
    Thanks.

Production build 0.71.5 2024