Menu display issue on mobile - desktop menu temporaily flashes on page load

Created on 24 June 2023, over 1 year ago
Updated 8 August 2023, over 1 year ago

Problem/Motivation

Testing this Drupal 9 theme that I bought: https://demo.morethanthemes.com/flashyplus-business/default/landing-page-2 on mobile with Drupal 9.5.5 . It uses the Superfish Module Version: 8.x-1.4. If you reload the page (or any of the pages in the demo link) it inadvertently shows the desktop menu for a few seconds before showing the correct mobile accordion menu. I'd like the page to load without the desktop menu inadvertently showing.

Steps to reproduce

Open https://demo.morethanthemes.com/flashyplus-business/default/landing-page-2 specifically on mobile (cellphone) and reload page. You will see the desktop menu inadvertently flash for a second or 2 before hiding.
Thanks for any help. Much appreciated.

Proposed resolution

Adjust the Superfish JS/CSS to rectify the issue. Issue appears to be with this JS file: https://demo.morethanthemes.com/flashyplus-business/default/sites/defaul...

Remaining tasks

User interface changes

API changes

Data model changes

🐛 Bug report
Status

Active

Version

1.4

Component

Code

Created by

🇺🇸United States hcanning

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

Comments & Activities

Production build 0.71.5 2024