Quickedit was not rightly positionned since my upgrade to D9. After investigating, it is because the referenceElement defined is not whas is expected by Popper in certain cases.
Popper expects a DOM element or virtual element for the reference element.
This reference element is searched in the position() function of EntityToolbarView.js.
If we reach default, then we properly have a DOM element, but for cases 1, 2 or 3 we are sending an element from the model.
It seems that retrieving the DOM element from those objects solves the issue. I am not sure about case 0, as I didn't manage to trigger such a case
Comments
Comment #2
vdsh commentedLet's see already what the test bot says.
Comment #3
vdsh commentedComment #4
vdsh commentedPrevious patch did not apply...
Comment #5
gauravvvv commentedre-rolled patch #4, fixed cs errors.
Comment #6
vdsh commentedThanks for re-rolling the patch. I admit that I didn't understand the error message (and it worked internally)...
Comment #8
spokjeDue to Quickedit being moved out of Drupal Core and into a Contrib Module, moving this issue to the Contrib Module queue.