I am getting the following javascript error from position-min.js?v=1.12.1 when a user with an editor role (non Administrator / non-user 1) with the "Access in-place editing" permission is given.

Uncaught TypeError: Cannot set property 'position' of undefined

This causes the Drupal administrative toolbar to fail to load correctly for the user.

Currently using Drupal 8.4.0, so I'm not sure if this is the case in a previous core (since this is a core js library) or if it's template related.

This error is not thrown in the Bartik theme, so I suspect this may be theme template related.

Comments

misterkay created an issue. See original summary.

omdb’s picture

I have the same issue using Bootstrap

markcarver’s picture

Status: Active » Closed (duplicate)
Related issues: +#2831237: Bootstrap modal does not work well with jQuery UI dialog

This is likely because of the dialog JS that needs to be worked on.

francescbassas’s picture

Same problem here with Drupal 8.4.4 and Bootstrap 8.3.9. Disabling "Access in-place editing" permission problem is avoided.

bbuchert’s picture

Disabling in place editing did work for me too.