End of Support for Joomla 3 - Forum closed

Issue with submenu

Issue with submenu was created by ASSURALIA

Posted 6 years 7 months ago #18111
Hi there,

I activated the Medical theme that I've personalized, but I have an issue/bug with my submenu. When you make the screen smaller (or you expand the size of your view for example to 150% Control + ) and you hover the menu, the submenu appears. That's ok.

However when the submenu is larger ( a long list of 10 submenu-items let's say) than the visible webpage, it jumps 'till the end of the page. So you have like this jump to the end of the page which is really weird. It seems there a script (maybe javascript? in UIkit) that has an if-condition that makes the submenu-div to show 'till the end.

Any ideas?
It seems it's a 'boundary'-thing, but how to I deactivate it correctly?
Thanks for feedback!
DLM
Last Edit:6 years 7 months ago by ASSURALIA
Last edit: 6 years 7 months ago by ASSURALIA.

Please Log in or Create an account to join the conversation.

Replied by joomlaplates on topic Issue with submenu

Posted 6 years 7 months ago #18112
Hi there,
do you have a live url where I can see the issue?

Please Log in or Create an account to join the conversation.

Replied by ASSURALIA on topic Issue with submenu

Posted 6 years 7 months ago #18114
www.cabinetmedilink.be/fr/
Try the fourth menu-item (autres therapeutes)

i'm quite sure it has something to do with the "boundaries" from the UIkit, like in warp/vendor/uikit/js/uikit.js.
maybe with this?
checkBoundary: function(i, e, n, o, s) {
var a = "";
return (i < 0 || i - t.$win.scrollLeft() + n > s) && (a += "x"), (e - t.$win.scrollTop() < 0 || e - t.$win.scrollTop() + o > window.innerHeight) && (a += "y"), a
}

or do I need to use somethinkg like uk-dropdown="boundary: .boundary"
Last Edit:6 years 7 months ago by ASSURALIA
Last edit: 6 years 7 months ago by ASSURALIA.

Please Log in or Create an account to join the conversation.

Replied by joomlaplates on topic Issue with submenu

Posted 6 years 7 months ago #18118
Hi there,
sorry I cant see any issue.
I have set the Brwoser to 150% and try the submenu, see video.


Maybe you can fix it, if you setup a third level menu. Therefore add this css code to your css/custom.css
Code:
.uk-nav-navbar > .uk-parent > .uk-nav-sub { display: none; } .uk-nav-navbar > .uk-parent > a:after { content: "\f107"; font-family: "FontAwesome"; display: block; float: right; } .uk-nav-navbar > .uk-parent:hover > .uk-nav-sub { display: block; background: none repeat scroll 0 0 padding-box #fff; border: 1px solid rgba(0, 0, 0, 0.12); box-shadow: 0 6px 8px rgba(0, 0, 0, 0.3); width: 200px; margin-top: -5px; padding: 15px; position: absolute; left: 150px; }

Please Log in or Create an account to join the conversation.

Replied by ASSURALIA on topic Issue with submenu

Posted 6 years 7 months ago #18123
Hi,

I guess I wasn't quite clear in my explanation.
It appears when the menu is longer than the screen, so not in the way you showed in the video.
SO that the last subitem (here its Vanessa...) is outside of the screen/not visible

It's like when you open your 'inspect' in Chrome, then your screen is smaller, you see?

Please Log in or Create an account to join the conversation.

Replied by joomlaplates on topic Issue with submenu

Posted 6 years 7 months ago #18126
I cant see any issue:


Btw where should the menu item go? You have to scroll down to see all menu items when the screen is not height enough!

Please Log in or Create an account to join the conversation.

Moderators: joomlaplates

Installations-Service

Don´t waste your time, we install your purchased Template
with the "Demo Content" within the next 24 hours.

Buy Now - 59€

Joomlaplates/Theme-Point is not affiliated with or endorsed by Open Source Matters or the Joomla! Project

Copyright © 2022 JoomlaPlates | Professional Joomla Templates with Uikit 3

Disclaimer & Privacy | License