In combination with the Paragraphs Edit 2.x-dev module, on some Paragraphs, the contextual link is not clickable to edit. There are JS Errors in the console.

Uncaught TypeError: Cannot read property 'top' of undefined
    at adjustIfNestedAndOverlapping (js_f5OdHKHNomMmFUb-JT50sULbhaNVvD3xb4k2Rz_-9WQ.js:787)
    at initContextual (js_f5OdHKHNomMmFUb-JT50sULbhaNVvD3xb4k2Rz_-9WQ.js:763)
    at js_f5OdHKHNomMmFUb-JT50sULbhaNVvD3xb4k2Rz_-9WQ.js:844

I found these issues:

Contextual links broken because of JS error
https://www.drupal.org/node/2033275

contextual.js and quickedit.js should fail gracefully, with useful error messages, when Twig templates forget to print attributes
https://www.drupal.org/node/2551373

Could be that some of our templates do not print "attributes" in the outer wrapper? Start investigating with the field templates.

Comments

thejimbirch created an issue. See original summary.

  • thejimbirch committed 6aa0e8d on 8.x-2.x
    Issue #2896278 by thejimbirch: Adds div.attributes into field templates.
    
thejimbirch’s picture

Status: Active » Fixed

Thanks to the fix in #2551373 in Drupal 8.4, I found the missing attributes, in the field templates. Unfortunately, this added another non-semantic div into the output, but I think the benefit to content administrators outweigh that downside

thejimbirch’s picture

Status: Fixed » Closed (fixed)