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.
Comments
Similar requests
♿ Add "Accessible Navigation" toggle in the Off-Canvas widget similar to Popups
4 votes · 0 comments
Add avoid multiple off-canvas to off-canvas widget functionality.
2 votes · 0 comments
Show loading to remove products in the menu cart widget
3 votes · 0 comments
Separate Widget Settings panel from Widget Panel
1 vote · 0 comments
add widgets to canvas by click : Hold down the shift key so that the widget settings do not open.
3 votes · 0 comments
No comments yet.