Dropdown Menu question

All WYSIWYG Web Builder support issues that are not covered in the forums below.
Forum rules
IMPORTANT NOTE!!

DO YOU HAVE A QUESTION OR PROBLEM AND WANT QUICK HELP?
THEN PLEASE SHARE A "DEMO" PROJECT.



PLEASE READ THE FORUM RULES BEFORE YOU POST:
http://www.wysiwygwebbuilder.com/forum/viewtopic.php?f=12&t=1901

MUST READ:
http://www.wysiwygwebbuilder.com/getting_started.html
WYSIWYG Web Builder FAQ
Post Reply
dannac
 
 
Posts: 206
Joined: Wed Nov 13, 2019 8:46 pm

Dropdown Menu question

Post by dannac »

Have dropdown menu with style set to where you do not have to click on main subject to see sub items

but at times it loses focus before you have time to click a sub menu item

how to fix please

demo

https://app.box.com/s/6bijp4ivtpycl7e7mu3moowb8j9j9sny
User avatar
Pablo
 
Posts: 23606
Joined: Sun Mar 28, 2004 12:00 pm
Location: Europe
Contact:

Re: Dropdown Menu question

Post by Pablo »

What are the exact steps to reproduce this behavior?
dannac
 
 
Posts: 206
Joined: Wed Nov 13, 2019 8:46 pm

Re: Dropdown Menu question

Post by dannac »

Pablo wrote: Sun Jan 08, 2023 3:18 pm What are the exact steps to reproduce this behavior?
5 Main tabs in menu ... 3 of the tabs have dropdowns

Hover over a tab and the dropdown shows but as soon as I lower cursor to choose sub item,
the dropdown disappears and cannot choose sub item

30 second video
https://app.box.com/s/5pz7vw11qi5su25xqgpeuzcn38o4msj1

Thanks

Realize I can choose style to click on main item ... but would rather not do that to choose a sub item
User avatar
crispy68
 
 
Posts: 3090
Joined: Thu Oct 23, 2014 12:43 am
Location: Acworth, GA
Contact:

Re: Dropdown Menu question

Post by crispy68 »

@Pablo,

I can see what he is saying in the demo. Sometimes it works and sometimes the submenu will disappear when moving from button to submenu. Not sure if this has anything to do with it but when I view the CSS I see this line:

Code: Select all

.DropdownMenu1 .dropdown-hover > .dropdown-men{margin-top: -1px !important;}
I can see a 1px gap between button and dropdown. If I change it to -2px above it closes that gap and then it seems to work without issue. Not sure if this is the culprit but maybe a place to start. :wink:
dannac
 
 
Posts: 206
Joined: Wed Nov 13, 2019 8:46 pm

Re: Dropdown Menu question

Post by dannac »

Thanks crispy68

Is that something I can adjust ?

If yes, how do I find that CSS code line you referred to ?
User avatar
crispy68
 
 
Posts: 3090
Joined: Thu Oct 23, 2014 12:43 am
Location: Acworth, GA
Contact:

Re: Dropdown Menu question

Post by crispy68 »

You would have to open up the page's CSS file after publishing to change it and would need to do this each time you republish your page(s). This will be tedious if you have multiple pages.

Would be easier to add this code to the page html:

Code: Select all

<style>
.DropdownMenu1 .dropdown-hover > .dropdown-menu{margin-top:-2px !important;}
</style>
However, you may want to wait for Pablos response on this to see if he has a better idea. :D
dannac
 
 
Posts: 206
Joined: Wed Nov 13, 2019 8:46 pm

Re: Dropdown Menu question

Post by dannac »

crispy68 wrote: Sun Jan 08, 2023 4:35 pm You would have to open up the page's CSS file after publishing to change it and would need to do this each time you republish your page(s). This will be tedious if you have multiple pages.

Would be easier to add this code to the page html:

Code: Select all

<style>
.DropdownMenu1 .dropdown-hover > .dropdown-menu{margin-top:-2px !important;}
</style>
However, you may want to wait for Pablos response on this to see if he has a better idea. :D
Ok ... thank you !
User avatar
Pablo
 
Posts: 23606
Joined: Sun Mar 28, 2004 12:00 pm
Location: Europe
Contact:

Re: Dropdown Menu question

Post by Pablo »

Thanks, but I am not sure if the margin is causing this.
It looks like Bootstrap's 'popper' script is adding the offset.
I will look into this, they may have an update for this.
dannac
 
 
Posts: 206
Joined: Wed Nov 13, 2019 8:46 pm

Re: Dropdown Menu question

Post by dannac »

Pablo wrote: Sun Jan 08, 2023 4:53 pm Thanks, but I am not sure if the margin is causing this.
It looks like Bootstrap's 'popper' script is adding the offset.
I will look into this, they may have an update for this.
Ok ... thanks !
User avatar
Bluesman
 
 
Posts: 1205
Joined: Mon Feb 01, 2016 5:43 pm
Location: Sweden
Contact:

Re: Dropdown Menu question

Post by Bluesman »

Pablo wrote: Sun Jan 08, 2023 4:53 pm Thanks, but I am not sure if the margin is causing this.
It looks like Bootstrap's 'popper' script is adding the offset.
I will look into this, they may have an update for this.
Hi Pablo... I have the same problem with the Themeable menu. After publish I put the marker over the menu item with submenues and when the submenues appear I move the marker down for choosing a sub, but it disappear. If I click on the main menu button before and mowe the marker down, it works??
Ex site I'm working on now:
https://www.tpcab.se/ongoing

Addition: It appears a bit irregular... moving the marker out and over again and it appears again...
"Make My Day"

See my Website
User avatar
Pablo
 
Posts: 23606
Joined: Sun Mar 28, 2004 12:00 pm
Location: Europe
Contact:

Re: Dropdown Menu question

Post by Pablo »

The themeable menu and drop down menu are using the same script (Bootstrap), so this is most likely the same issue.
dannac
 
 
Posts: 206
Joined: Wed Nov 13, 2019 8:46 pm

Re: Dropdown Menu question

Post by dannac »

Pablo wrote: Sun Jan 08, 2023 4:53 pm Thanks, but I am not sure if the margin is causing this.
It looks like Bootstrap's 'popper' script is adding the offset.
I will look into this, they may have an update for this.
Any progress on this ?
User avatar
Pablo
 
Posts: 23606
Joined: Sun Mar 28, 2004 12:00 pm
Location: Europe
Contact:

Re: Dropdown Menu question

Post by Pablo »

An update with a workaround will be released within a few days.
dannac
 
 
Posts: 206
Joined: Wed Nov 13, 2019 8:46 pm

Re: Dropdown Menu question

Post by dannac »

Thanks
User avatar
Bluesman
 
 
Posts: 1205
Joined: Mon Feb 01, 2016 5:43 pm
Location: Sweden
Contact:

Re: Dropdown Menu question

Post by Bluesman »

Pablo wrote: Tue Jan 10, 2023 3:42 pm An update with a workaround will be released within a few days.
Nice! :)
"Make My Day"

See my Website
User avatar
Bluesman
 
 
Posts: 1205
Joined: Mon Feb 01, 2016 5:43 pm
Location: Sweden
Contact:

Re: Dropdown Menu question

Post by Bluesman »

Pablo wrote: Tue Jan 10, 2023 3:42 pm An update with a workaround will be released within a few days.
Seams to work for me now... Installed the last hotfix today and have tested the menu. Works good :D
GRACIAS PABLO
"Make My Day"

See my Website
dannac
 
 
Posts: 206
Joined: Wed Nov 13, 2019 8:46 pm

Re: Dropdown Menu question

Post by dannac »

Bluesman wrote: Wed Jan 11, 2023 12:58 pm Installed the last hotfix today and have tested the menu. Works good
Where would the hot fix be found ?
User avatar
jerryco
 
 
Posts: 916
Joined: Fri Mar 27, 2009 2:42 pm
Location: Purmerend, Holland

Re: Dropdown Menu question

Post by jerryco »

// Love is the acceptance of nothing / Account age is no guarantee of efficiency ;-) ->

Above, Beyond, and @wwonderfull! <- Genuinely helps you with a powered up site that counts! Four Times Excellence!
dannac
 
 
Posts: 206
Joined: Wed Nov 13, 2019 8:46 pm

Re: Dropdown Menu question

Post by dannac »

Thanks
Post Reply