Closed (fixed)
Project:
UI Suite Bootstrap
Version:
5.0.x-dev
Component:
User interface
Priority:
Normal
Category:
Feature request
Assigned:
Unassigned
Issue tags:
Reporter:
Created:
22 Jun 2023 at 14:17 UTC
Updated:
9 Oct 2024 at 12:54 UTC
Jump to comment: Most recent, Most recent file
Comments
Comment #2
grimreaperComment #5
mademo commentedComment #6
mademo commentedComment #7
grimreaperComment #8
mademo commentedComment #9
mademo commentedUsage :
href="[some-links]"
class="use-ajax"
data-dialog-type="modal"
data-dialog-options="{"dialogClasses":"modal-dialog-centered","dialogShowHeader":false}"
>
Open modal
Dialog options :
dialogClass => string
dialogShowHeader => boolean
dialogShowHeaderTitle => boolean
dialogStatic => boolean
dialogHeadingLevel => number
Comment #10
mademo commentedComment #11
mademo commentedComment #12
grimreaperComment #13
grimreaperComment #14
grimreaperComment #16
grimreaperComment #17
grimreaperThe change introduced here prevents Layout Builder to work.
I will rollback.
Comment #19
grimreaperComment #22
grimreaperThanks to @nod_, MR 188 created that fixes one JS error. Now it works but, in Layout Builder, the offcanvas is replaced by the modal and also some other JS is not applied due to wrong execution order.
Needs deeper investigation.
Comment #23
grimreaperComment #25
grimreaperComment #26
maboy commentedHello,
I've tested tocab fix on my side and off canvas modal is now working as expected (cf off-canvas.png)
Regards,
Comment #27
maboy commentedComment #28
grimreaperI will split the offcanvas into a dedicated issue because I need to remove/adjust development to override properly form in Layout Builder or not and still ensure it works with Gin LB.
Comment #29
grimreaperComment #30
grimreaperComment #32
grimreaper