Browser: Chrome 151.0.7922.169
OS: Windows
Hi,
In the new beta, I control the direction of the Offcanvas at two different breakpoints. On mobile, the Offcanvas does not open as expected. This only happens the first time after the page reloads. To better understand the issue, I have set the Transition: Duration to 3 seconds. Please watch the video below.
Offcanvas structure
{"content":[{"id":"sgjiwi","name":"section","parent":0,"children":["dffnot"],"settings":{"_margin":{"bottom":"2000"}}},{"id":"dffnot","name":"container","parent":"sgjiwi","children":["cnfytg","fajmbz"],"settings":{}},{"id":"cnfytg","name":"button","parent":"dffnot","children":[],"settings":{"text":"I am a button","style":"primary","_interactions":[{"id":"scmlmg","trigger":"click","action":"toggleOffCanvas","offCanvasSelector":"#brxe-fajmbz"}]}},{"id":"fajmbz","name":"offcanvas","parent":"dffnot","children":["tfrvwj","hrczlw"],"settings":{"width":"400","direction:mobile_landscape":"bottom","width:mobile_landscape":"100%","height:mobile_landscape":"100dvh","transitionDuration":"3s"}},{"id":"tfrvwj","name":"block","parent":"fajmbz","children":["bkxdlb","vnlzrq"],"settings":{"_hidden":{"_cssClasses":"brx-offcanvas-inner"},"_padding":{"top":"20","right":"20","bottom":"20","left":"20"}},"label":"Content","cloneable":false,"deletable":false},{"id":"bkxdlb","name":"text-basic","parent":"tfrvwj","children":[],"settings":{"text":"Add your offcanvas content in here"}},{"id":"vnlzrq","name":"toggle","parent":"tfrvwj","children":[],"settings":{"ariaLabel":"Close"},"label":"Toggle (Close)"},{"id":"hrczlw","name":"block","parent":"fajmbz","children":[],"settings":{"_hidden":{"_cssClasses":"brx-offcanvas-backdrop"}},"label":"Backdrop"}],"source":"bricksCopiedElements","sourceUrl":"https://avangtheme.ir","version":"2.4-beta3"}