Developer forum

Forum » Swift » Swift 2 - Megamenu changes position on click

Swift 2 - Megamenu changes position on click

Joakim
Reply

Hi,

I'm running swift 2.1 and I've noticed when clicking the megamenu dropdown(Menu: Ecom with Realted Content
Console does not show any JS errors.

Is this a know issue? The behaviour seems unreliable.
Since its, afaik, bundled in bootstrap, debugging and adjusting the code seems to require abit of effort, if even possible.

Do you have any solution to this issue?

Thanks


Replies

 
Merethe Vrå Andersen Dynamicweb Employee
Merethe Vrå Andersen
Reply

Hi, 

This is bugged with bug #27691 and fixed with https://github.com/dynamicweb/Swift/commit/2898438e6f53a758dd10f32c161dea9b1ee3fe62

Kind regards,
Merethe Vrå Andersen
QA

 
Joakim
Reply

Hi Merethe,

To clarify: the issue isn't related to mouseenter or mouseleave. The menu changes position as soon as I click anywhere inside the mega menu dropdown.

I’ve implemented the fix mentioned in

Commit 2898438

 

, but the issue persists. It seems like the click event might be bubbling up or being intercepted. Any thoughts on how to prevent this?

 
Joakim
Reply

bumping this since we are experiencing this issue on multiple sites.

 
Joakim
Reply

bump

 
Joakim
Reply

Does anyone have any insight into this?
Or is the current recommended solution to build a custom handler?

 

You must be logged in to post in the forum