Skip to content

Commit

Permalink
Fix issue of Lenis on Off Canvas block
Browse files Browse the repository at this point in the history
  • Loading branch information
sonvnn committed Nov 11, 2024
1 parent c9e64a1 commit 38b57be
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion framework/frontend/offcanvas.php
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@
$panelwidth = $params->get('offcanvas_panelwidth', '320px');
$openfrom = $params->get('offcanvas_openfrom', 'left');
?>
<div class="astroid-offcanvas d-none d-init" id="astroid-offcanvas">
<div class="astroid-offcanvas d-none d-init" id="astroid-offcanvas" data-lenis-prevent>
<?php echo $document->include('offcanvas.close'); ?>
<div class="astroid-offcanvas-inner">
<?php $content = $document->position($module_position, 'astroidxhtml');
Expand Down

0 comments on commit 38b57be

Please sign in to comment.