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

Created on 31 July 2024, 7 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

Active

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 7 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

  • Status changed to Closed: won't fix about 2 months ago
  • πŸ‡ΊπŸ‡ΈUnited States danchadwick Boston

    Given the complexity and lack of appetite for making this work, I'm closing this. Please feel free to reopen with a solution, MR, or more information.

Production build 0.71.5 2024