Megamenu and Datepicker

1 reply · opened May 17, 2017

OostschweizMay 17, 2017

Hello

I have integrated the Mega Menu on my Site: http://dev.canvas.tso.ch/pages/home/

Now i have in the Menu "Reservieren" in the Drowpdown two textfields integrated. When i click to Zeitraum in the input field, the datepicker will open.

If i want to choose a date, and i hover over the popup, the megamenu disappears.

Can you give me a solution for this problem?

Thank you very much

Best regards

Stefan Keller

SSemicolon WebSTAFFMay 23, 2017

Hello,

Unfortunately, the DatePickers are currently not supported in the Mega Menus since the DatePicker Popup is not inside the Mega Menu DIVs which causes the Mega Menus to hide.

You can consider using the following code to show the Mega Menus when the DatePicker Popup is shown:

jQuery('.input-daterange').datepicker().on(picker_event, function(e) {
	jQuery('#primary-menu > ul').superfish( 'show' );
});

This should definitely work fine. Hope this Helps!

Let us know if we can help you with anything else or if you find any further issues.

Have the same question, or something new?

Sign in to the Canvas dashboard to reply or open your own topic. Canvas owners get direct help from the SemiColonWeb team.

Reply on the dashboard