FeatureFuel
16

Add an option to close the Off-Canvas widget when a link inside is clicked

Source: elementor/elementor#27727 · opened by @cmasetti
Prerequisites • I have searched for similar feature requests in both open and closed discussions and cannot find an existing request. • I have verified that the feature is still missing from the latest stable versions of Elementor or Elementor Pro. What problem is your feature request going to solve? Please describe.. I installed the new Offcanvas widget to my header ( It works fine for page links. But one of my menu items is an anchor link ("restaurants") to a section of the homepage. When I click on "restaurants" it scrolls to the right section. But if I am in the home already, the offcanvas does not close after the click, it stays open. The following code works for popups, if we could only update it to Offcanvas it would solve the issue. <script> jQuery(function($){ $(document).on('click','.elementor-location-popup a', function(event){ elementorProFrontend.modules.popup.closePopup( {}, event); }); }); </scr…

No pledges yet. Be the first to back this.

Make a pledge

Pledge your monetary support if this feature is added.

$

Comments

No comments yet.

Replying to

Add a comment

What do you think about this feature request?


Similar requests