We've themed CTools Modal and worked on a new look for Panels IPE modal. Help us test it.

Radix Panels IPE modal

Support from Acquia helps fund testing for Drupal Acquia logo

Comments

shadcn’s picture

Issue summary: View changes
barraponto’s picture

Does this rely on CTools 1.4 (pre-release)?

shadcn’s picture

Using CTools 7.x-1.3 from Panopoly dev branch.

barraponto’s picture

Adding some responsiveness to the columns for smaller devices.

shadcn’s picture

Committed. Thanks.

barraponto’s picture

Status: Needs work » Active

See also #2223691: Use .modal-open to prevent scrolling outside the modal. Leaving as Active since there's no patch to work or review.

guillaumev’s picture

FileSize
141.08 KB

Hi,

I'm having an issue with radix 3.x-dev and modals. When using modals with lots of content, the modal is not resized properly and the form simply ends up not working. See the attached screenshot...

guillaumev’s picture

Status: Active » Needs review
FileSize
624 bytes

Not sure this patch is the cleanest way to fix it, but it fixes it for me...

migueltrindade’s picture

When you close the modal using the "Esc" button it doesn't remove "modal-open" class from body.

chriz001’s picture

Had the same problem with the 'esc' button, this should fix it. I can make a patch if needed.

  $(document).on('CToolsDetachBehaviors', function(event, modalContent) {
    $('body').removeClass('modal-open');
  });
shadcn’s picture

Status: Needs review » Fixed

Marking this issue as fixed. Feel free to reopen if you have any question. Thanks.

Status: Fixed » Closed (fixed)

Automatically closed - issue fixed for 2 weeks with no activity.