Renderer="off_canvas" dialog-type="dialog" doesn't work

Created on 31 July 2024, 5 months ago
Updated 15 August 2024, 4 months ago

Problem/Motivation

When using renderer="off_canvas" type="dialog". Javascript renders modal.

<a class="edit-button use-ajax" 
            data-dialog-options="{&quot;width&quot;:400}" 
            data-dialog-renderer="off_canvas" 
            data-dialog-type="dialog" 
            href="/node/1">
            Third article displayed in a nice off canvas dialog.
        </a>

Proposed resolution

Is it possible option off canvas seems not implemented yet ?

🐛 Bug report
Status

Needs work

Version

6.0

Component

Code

Created by

Live updates comments and jobs are added and updated live.
Sign in to follow issues

Comments & Activities

  • Issue created by @windy-ux
  • This breaks due to the dialog.js and dialog.ajax.js override within the theme, I'll see if I can fix it eventually but seems a bit too complex, for now maybe disable your theme overrides in your info.yml file

  • Status changed to Needs work 4 months ago
  • For now I just commented out the drupal.dialog.ajax drupal.dialog overrides. do the same for now on your own theme until we come up with a solution

Production build 0.71.5 2024