Menu is stuck in Backpack admin panels #1272
Replies: 7 comments 4 replies
-
Based on the information provided in the knowledge sources, it appears that you're experiencing an issue with the menu behavior in Backpack v6 using the Tabler theme. This issue seems similar to a bug that was reported and fixed in an earlier version of the Tabler theme. Here are some suggestions to address your problem:
If the issue persists after trying these steps, it might be a new bug that hasn't been reported yet. In that case, you may want to consider:
Remember to always back up your project before making significant changes or updates. ℹ️ Please note our AI Bot does not reply to follow-ups, this will be the only AI answer in this thread. If the AI helped you find the answer, please mark it as answered or write details below so it can learn. Then close the conversation. If not, please give more information for when a human reads this. ℹ️ Relevant sources: Github Issue (closed): [Bug] Multi-level menu error |
Beta Was this translation helpful? Give feedback.
-
Hello @lieto-dk Did you see any error in console? Cheers. |
Beta Was this translation helpful? Give feedback.
-
menu items file below. It works in my dev setup but not on production site.
If i select anything in the menus, that menu is just being stucked over the content of the list or form that i just selected in the menu.
Its very strange - have updated to latest backpack, removed cookies, done Ctrl-F5
Where does backpack store information on what menu you had open recently ? And why doesnt it close the meny when you select an element in the dropdown menu ?
{{-- This file is used for menu items by any Backpack v6 theme --}}
<x-backpack::menu-dropdown title="Dashboard & Data" icon="la la-dashboard">
<x-backpack::menu-dropdown-item title="Marketing Dashboard" icon="la la-dashboard" :link="backpack_url('dashboard')" />
<x-backpack::menu-dropdown-item title="Operations Dashboard" icon="la la-desktop" :link="backpack_url('dashboardoperations')" />
<x-backpack::menu-dropdown-item title="Clickouts Dashboard" icon="la la-mouse" :link="backpack_url('dashboardclickout')" />
<x-backpack::menu-dropdown-item title="Pageviews Dashboard" icon="la la-mouse" :link="backpack_url('dashboardpageview')" />
<x-backpack::menu-dropdown-item title="Clickouts" icon="la la-mouse" :link="backpack_url('clickout')" />
<x-backpack::menu-dropdown-item title="Pageviews" icon="la la-archive" :link="backpack_url('pageview')" />
<x-backpack::menu-dropdown-item title="Timeseries" icon="la la-history" :link="backpack_url('timeserie')" />
<x-backpack::menu-dropdown-item title="Timeserie Values" icon="la la-business-time" :link="backpack_url('timeserievalue')" />
</x-backpack::menu-dropdown>
<x-backpack::menu-dropdown title="Site" icon="la la-sitemap">
<x-backpack::menu-dropdown-item title="Contentpages" icon="la la-file" :link="backpack_url('contentpage')" />
<x-backpack::menu-dropdown-item title="Frontposts" icon="la la-id-card" :link="backpack_url('frontpost')" />
<x-backpack::menu-dropdown-item title="Offers" icon="la la-blog" :link="backpack_url('offer')" />
<x-backpack::menu-dropdown-item title="Sites" icon="la la-globe" :link="backpack_url('site')" />
<x-backpack::menu-dropdown-item title="Site Ratings" icon="la la-star-half-alt" :link="backpack_url('siterating')" />
<x-backpack::menu-dropdown-item title="Slugs" icon="la la-sitemap" :link="backpack_url('slug')" />
</x-backpack::menu-dropdown>
<x-backpack::menu-dropdown title="Ads & Affiliates" icon="la la-ad">
<x-backpack::menu-dropdown-item title="Ads" icon="la la-ad" :link="backpack_url('ad')" />
<x-backpack::menu-dropdown-item title="Affiliates" icon="la la-coins" :link="backpack_url('affiliate')" />
<x-backpack::menu-dropdown-item title="Crawljobs" icon="la la-spider" :link="backpack_url('crawljob')" />
</x-backpack::menu-dropdown>
<x-backpack::menu-dropdown title="SoMe & Catalogs" icon="la la-share-alt">
<x-backpack::menu-dropdown-item title="Socialmedia" icon="la la-facebook" :link="backpack_url('socialmedia')" />
<x-backpack::menu-dropdown-item title="Socialmediaposts (Text)" icon="la la-share-alt-square" :link="backpack_url('socialmediapost')" />
<x-backpack::menu-dropdown-item title="Socialmediaposts (Offers)" icon="la la-share-alt" :link="backpack_url('socialmediapostoffer')" />
<x-backpack::menu-dropdown-item title="Socialmediastories" icon="la la-film" :link="backpack_url('socialmediastory')" />
<x-backpack::menu-dropdown-item title="Catalogs" icon="la la-book" :link="backpack_url('catalog')" />
<x-backpack::menu-dropdown-item title="Seo Keywords" icon="la la-key" :link="backpack_url('seo-keyword')" />
<x-backpack::menu-dropdown-item title="Adwords Templates" icon="la la-ad" :link="backpack_url('adwords-template')" />
<x-backpack::menu-dropdown-item title="Backlinks" icon="la la-link" :link="backpack_url('backlink')" />
<x-backpack::menu-dropdown-item title="Keywords" icon="la la-key" :link="backpack_url('keyword')" />
</x-backpack::menu-dropdown>
<x-backpack::menu-dropdown title="Newsletters" icon="la la-newspaper">
<x-backpack::menu-dropdown-item title="Newsletters" icon="la la-envelope" :link="backpack_url('newsletter')" />
<x-backpack::menu-dropdown-item title="Newslettertemplates" icon="la la-wpforms" :link="backpack_url('newslettertemplate')" />
<x-backpack::menu-dropdown-item title="Sendmails" icon="la la-mail-bulk" :link="backpack_url('sendmail')" />
<x-backpack::menu-dropdown-item title="Mailtrackings" icon="la la-envelope-open-text" :link="backpack_url('mailtracking')" />
<x-backpack::menu-dropdown-item title="Subscribers" icon="la la-user-friends" :link="backpack_url('subscriber')" />
</x-backpack::menu-dropdown>
<x-backpack::menu-dropdown title="Master Data" icon="la la-database">
<x-backpack::menu-dropdown-item title="Boardtypes" icon="la la-utensils" :link="backpack_url('boardtype')" />
<x-backpack::menu-dropdown-item title="Boardtype Locale" icon="la la-utensils" :link="backpack_url('boardtypelocale')" />
<x-backpack::menu-dropdown-item title="Category" icon="la la-layer-group" :link="backpack_url('category')" />
<x-backpack::menu-dropdown-item title="Category Locale" icon="la la-layer-group" :link="backpack_url('categorylocale')" />
<x-backpack::menu-dropdown-item title="Countries" icon="la la-globe" :link="backpack_url('country')" />
<x-backpack::menu-dropdown-item title="Country Locale" icon="la la-globe" :link="backpack_url('countrylocale')" />
<x-backpack::menu-dropdown-item title="Country Match" icon="la la-equals" :link="backpack_url('countrymatch')" />
<x-backpack::menu-dropdown-item title="Departures" icon="la la-plane-departure" :link="backpack_url('departure')" />
<x-backpack::menu-dropdown-item title="Departure Match" icon="la la-book" :link="backpack_url('departurematch')" />
<x-backpack::menu-dropdown-item title="Destinations" icon="la la-plane-arrival" :link="backpack_url('destination')" />
<x-backpack::menu-dropdown-item title="Destination Locale" icon="la la-plane-arrival" :link="backpack_url('destinationlocale')" />
<x-backpack::menu-dropdown-item title="Destination Match" icon="la la-equals" :link="backpack_url('destinationmatch')" />
<x-backpack::menu-dropdown-item title="FAQs" icon="la la-th-list" :link="backpack_url('faq')" />
<x-backpack::menu-dropdown-item title="FAQ Auto Questions" icon="la la-th-list" :link="backpack_url('faqautoquestion')" />
<x-backpack::menu-dropdown-item title="Ratings" icon="la la-star" :link="backpack_url('rating')" />
<x-backpack::menu-dropdown-item title="Rating Locale" icon="la la-star" :link="backpack_url('ratinglocale')" />
<x-backpack::menu-dropdown-item title="Traveltypes" icon="la la-hotel" :link="backpack_url('traveltype')" />
<x-backpack::menu-dropdown-item title="Traveltype Locale" icon="la la-hotel" :link="backpack_url('traveltypelocale')" />
</x-backpack::menu-dropdown>
<x-backpack::menu-dropdown title="Settings & Admin" icon="la la-tools">
<x-backpack::menu-dropdown-item title="Batchjobs" icon="la la-calendar-day" :link="backpack_url('batchjob')" />
<x-backpack::menu-dropdown-item title="Currencies" icon="la la-coins" :link="backpack_url('currency')" />
<x-backpack::menu-dropdown-item title="Failed Schedules" icon="la la-exclamation-triangle" :link="backpack_url('failedschedule')" />
<x-backpack::menu-dropdown-item title="Processed Schedules" icon="la la-clock" :link="backpack_url('processedschedule')" />
<x-backpack::menu-dropdown-item title="Locales" icon="la la-language" :link="backpack_url('locale')" />
<x-backpack::menu-dropdown-item title="Monitors" icon="la la-chart-bar" :link="backpack_url('monitor')" />
<x-backpack::menu-dropdown-item title="Landingpages" icon="la la-file" :link="backpack_url('landingpage')" />
<x-backpack::menu-dropdown-item title="Settings" icon="la la-cog" :link="backpack_url('setting')" />
</x-backpack::menu-dropdown>
|
Beta Was this translation helpful? Give feedback.
-
Checked the console only thiis jquery warning
Synchronous XMLHttpRequest on the main thread is deprecated because of its detrimental effects to the end user’s experience. For more help https://xhr.spec.whatwg.org/#sync-warning ***@***.***/dist/jquery.min.js?f1b364aee29b>
|
Beta Was this translation helpful? Give feedback.
-
As I see you are using tabler, the latest version is 1.2.17 you are using an old one, did you try to update it? Cheers. |
Beta Was this translation helpful? Give feedback.
-
This error was fixed many versions ago, so look like there is cached version of template displaying, can you try in your production environment this:
Check everything is ok on that's command. Then try:
Let me know if that's work for you. If you have any other cache method, please clear too. Cheers. |
Beta Was this translation helpful? Give feedback.
-
That's great, you find the solution. I will close this issue, but please feel free to re-open or create a new one if needed. Cheers. |
Beta Was this translation helpful? Give feedback.
-
I use
The issue is that the last used menu is stuck
![image](https://private-user-images.githubusercontent.com/25705200/400715599-202fa40c-46e1-40e1-8019-f1016def48bd.png?jwt=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3Mzk1MDM1OTQsIm5iZiI6MTczOTUwMzI5NCwicGF0aCI6Ii8yNTcwNTIwMC80MDA3MTU1OTktMjAyZmE0MGMtNDZlMS00MGUxLTgwMTktZjEwMTZkZWY0OGJkLnBuZz9YLUFtei1BbGdvcml0aG09QVdTNC1ITUFDLVNIQTI1NiZYLUFtei1DcmVkZW50aWFsPUFLSUFWQ09EWUxTQTUzUFFLNFpBJTJGMjAyNTAyMTQlMkZ1cy1lYXN0LTElMkZzMyUyRmF3czRfcmVxdWVzdCZYLUFtei1EYXRlPTIwMjUwMjE0VDAzMjEzNFomWC1BbXotRXhwaXJlcz0zMDAmWC1BbXotU2lnbmF0dXJlPWExODA1ZmI1MDkxZTUxMWI3NjNjMWU5NWVjYzg3N2U4NjNiYWEyMGJhOGY3YTkyMGYxM2QxNDEwMGQ0Y2Y3YzUmWC1BbXotU2lnbmVkSGVhZGVycz1ob3N0In0.-FgRzB_l3ITBnSS6PTrtkSN8WZ2Z1fdWgv4W6OBirXQ)
So when i enter the admin panel it shows up if i click on the top level and make it disappear it comes back when i refresh the page with F5.
If i click into a list or form the menu will be visisble on top of the list/form.
Any suggestions on what to do to fix the issue. I have already reset all cookies for the site.
Beta Was this translation helpful? Give feedback.
All reactions