Problem/Motivation

We are in the process of deprecating jQuery UI in core. The jQueryUI position library is among the components that need to be removed/replaced.
As mentioned in the parent issue: #3067261: [Plan] Remove jQuery UI components used by Drupal core and replace with a set of supported solutions
The OpenJS Foundation lists jQuery UI as an Emeritus project in https://openjsf.org/projects/ which is described as:

Emeritus projects are those which the maintainers feel have reached or are nearing end-of-life

Proposed resolution

In core, jQuery UI Position is primarily used by other jQuery UI libraries that will be deprecated. There is one instance where it is used in isolation and must be specifically addressed: the Quick Edit module. This means this issue is essentially finding a new library for Quick Edit's positioning.

After evaluating and prototyping the available options, PopperJS was the clear winner. It is well supported, widely used, well documented, and offers the necessary features.

Remaining Taks

  1. Choose between https://github.com/HubSpot/tether (probably a bad option, Hubspot was impressibly candid about no longer maintaining this) and https://github.com/FezVrasta/popper.js (recommended by Hubspot as a well maintained alternative) Done!
  2. Rule out libraries that shouldn't be used due to abandonment, performance, etc. Done!
  3. Create a prototype for the remaining libraries to be used in place of jQuery UI for Quick Edit's positioning Done!
  4. If prototype appears to function well, get sign-off from Quick Edit maintainer. Done!
  5. Validate the prototype with the JavaScript maintainers
  6. Get the patch through the core gates

User interface changes

Ideally, there will be none. Any changes shouldn't be more than a mildly noticeable pixel difference

API changes

Adds a new third-party dependency, popper.js.

Dependency evaluation of popper.js

  1. Maintainership of the package: The package is actively maintained with numerous contributors, and the maintainer is responsive and even followed up here on d.o. Thanks @FezVrasta!
  2. Security policies of the package: The package does not have an explicit security policy documented on GitHub or in the codebase, but the maintainer has indicated they're comfortable following coordinated disclosure with us: https://github.com/FezVrasta/popper.js/issues/823 Both the current and the previous major version receive security coverage.
  3. Expected release and support cycles: The release schedule is irregular based on the maintainer's availability, but there are releases every few months. https://github.com/FezVrasta/popper.js/releases The maintainer follows semver strictly insofar as one can with a JavaScript library.
  4. Code quality: ES6, >1800 dependents, used by major projects (e.g Bootstrap, Material UI), available on 5 package managers, multiple distribution targets, and provides guidance on how to use with all the popular JS libs (React, Vue.js, Angular, AngularJS, Ember.js and more) as well as readily available packages for those too.
  5. Other dependencies it would add, if any: no dependencies, only dev dependencies that Drupal never pulls in.

Data model changes

N/A

Release notes snippet

The Quick Edit module previously depended on the jQuery UI Position asset library. Since jQuery UI is end-of-life, we've removed the dependency on jQuery UI position and added a dependency on the Popper.js library instead. It's recommended that any modules or themes that use jQuery UI position also update their code to use Popper.js. Any module extending QuickEdit may also require small changes. Read the Popper.js added to Drupal core to replace jQuery UI Position for more information.

Comments

bnjmnm created an issue. See original summary.

wim leers’s picture

impressibly candid

This both made me smile and made me thankful. Yay for responsible open source maintenance!

Any changes shouldn't be more than a mildly noticeable pixel difference

IIRC .position() is also responsible for the movement animation. I think a difference in behavior there is absolutely acceptable, especially considering #2090945: Polish entity toolbar's positioning.

In other words: I think there is more leeway here. But you're right that while the page is static (no scrolling, no clicking of the user on other in-place editable fields), the visual difference should be minimal.

get signoff from Quickedit maintainer

👋🏻 I'm here!

bnjmnm’s picture

Status: Active » Needs review
StatusFileSize
new542.27 KB

Here's a prototype of Quickedit using popperjs instead of jQueryUI position().
Popper looks mature, versatile, used by several large enterprises, and a little bit confusing at first due to it's capabilities and not-immediately-inviting documentation -- in other words it's a good fit for Drupal.

wim leers’s picture

Status: Needs review » Needs work
StatusFileSize
new147.86 KB

in other words it's a good fit for Drupal.

😅

https://popper.js.org/ is a nice find! gzip size is 7.25 KB — don't let the patch size fool you.

Manually tested. It loads, runs without JS errors, but … it doesn't quite work correctly yet, it doesn't follow around properly:

(That toolbar is supposed to be positioned just above the title field.)

Still, it looks very promising! I It was just a prototype after all :)

finnsky’s picture

StatusFileSize
new211.67 KB

catched some mirracle disappear
dis

finnsky’s picture

StatusFileSize
new1.66 KB
new542.19 KB

Fixed described in #4 and #5

+1 for popper

wim leers’s picture

StatusFileSize
new1.29 MB

That is a huge step forward, @finnsky, thanks, and well done! 🥳

There are two problems I am still observing:
While scrolling, Popper seems to be recalculating for every scroll event, causing the toolbar to remain in the exact same place
if there is no room in the viewport for the toolbar to fit above the currently focused field, the toolbar is first positioned in the bottom right of the viewport and then animates to the appropriate place, instead of just moving to the appropriate place right away, without the jump to the bottom right

The attached screencast demonstrates this. It also demonstrates how the more typical initial appearing of the toolbar now does work! 👍

finnsky’s picture

Assigned: Unassigned » finnsky
finnsky’s picture

Popper has own scroll/resize event listeners
https://popper.js.org/popper-documentation.html#Popper.Defaults.eventsEn...

And we have own enabled
https://git.drupalcode.org/project/drupal/blob/8.8.x/core/modules/quicke...

So at least one of them should be disabled. Gonna digg it a bit more

finnsky’s picture

Assigned: finnsky » Unassigned
Status: Needs work » Needs review
StatusFileSize
new559.28 KB
new1.27 KB

Seems we don't need to update Popper itself since we have own complicated logic.

finnsky’s picture

Also added Popper to globals list to pass `lint:core-js-passing` eslint test. Not sure it is valid way. Please check

wim leers’s picture

Status: Needs review » Needs work

Patch doesn't apply! Quick reroll? :)

finnsky’s picture

StatusFileSize
new1.3 KB
new542.41 KB

sorry, fixed

finnsky’s picture

Status: Needs work » Needs review

Status: Needs review » Needs work

The last submitted patch, 13: 3074267-12.patch, failed testing. View results

wim leers’s picture

Priority: Normal » Major
Issue tags: -Needs subsystem maintainer review

It'll need some JS test updates because it failed tests … but … THIS WORKED PERFECTLY! 😲👏👏👏👏

Once this passes tests, I will RTBC this. Awesome work @finnsky!

droplet’s picture

+++ b/core/modules/quickedit/js/views/EntityToolbarView.js
@@ -163,42 +163,49 @@
+        $(data.instance.popper).css({
+          left: Math.floor(data.offsets.popper.left),
+          top: Math.floor(data.offsets.popper.top)

I believe this part of code doesn't work when the editor toolbar hit the Toolbar modules' bar.

And it's probably overridden by the Poper below? And refinePopper hasn't never called?

And Poper used CSS transform :)

+++ b/core/modules/quickedit/js/views/EntityToolbarView.es6.js
@@ -291,82 +291,70 @@
+              preventOverflow: {
+                boundariesElement,
+              }

There's no simple way to handle the above case I think. To execute the above function after Popper.update?

finnsky’s picture

Assigned: Unassigned » finnsky

actually it was easier to me to rewrite everything:)
#17

And refinePopper hasn't never called?

More than that: We recreate popper instead of reposition on every positionToolbar() call

Gonna fix found issues.

finnsky’s picture

2 options for make tests passed:

1) Set

                modifiers: {
                  computeStyle: {
                    gpuAcceleration: false
                  }
                },

in Popper settings.

2) Set

  /**
   * Disables CSS animations in tests for more reliable testing.
   *
   * CSS animations are disabled by installing the css_disable_transitions_test
   * module. Set to FALSE to test CSS animations.
   *
   * @var bool
   */
  protected $disableCssAnimations = TRUE; 

in core/modules/quickedit/tests/src/FunctionalJavascript/QuickEditJavascriptTestBase.php
to skip css transforms disabling.

wim leers’s picture

That seems reasonable. (Nice research by the way, that sure sounds tricky!)

finnsky’s picture

Assigned: finnsky » Unassigned
Status: Needs work » Needs review
StatusFileSize
new5.31 KB
new543.91 KB

a little bit closer to target. tests should be passed with #19 first option.
1) removed recreation of popper instance. added it in `this` instead.
2) Removed initial force styles
3) Enabled back `refinePopper` onCreate and onUpdate.

wim leers’s picture

StatusFileSize
new1.6 KB
new543.88 KB

Patch review

  1. +++ b/core/core.libraries.yml
    @@ -961,3 +961,8 @@ drupal.dialog.off_canvas:
    +popperjs:
    +  version: VERSION
    +  js:
    +    assets/vendor/popperjs/popper.js: {}
    

    👎 Missing correct version, missing license information, should use minified popperjs. Done. ✅

  2. +++ b/core/modules/quickedit/js/views/EntityToolbarView.es6.js
    @@ -291,82 +291,87 @@
    +         * Refines popper positioning.
    +         * @param {object} data
    +         *   Data object containing popper and target data.
              */
    

    🤓 Nit: missing blank line. Done. ✅

  3. +++ b/core/modules/quickedit/js/views/EntityToolbarView.es6.js
    @@ -291,82 +291,87 @@
               // Position the toolbar.
    -          info.element.element.css({
    -            left: Math.floor(suggested.left),
    -            top: Math.floor(suggested.top),
    -          });
    +          // $(data.instance.popper).css({
    +          //   left: Math.floor(data.offsets.popper.left),
    +          //   top: Math.floor(data.offsets.popper.top),
    +          // });
    

    👍This code is simply not necessary anymore due to how Popper works versus how jQuery UI's .position() works. Removed. ✅

  4. +++ b/core/modules/quickedit/quickedit.libraries.yml
    @@ -32,7 +32,6 @@ quickedit:
    -    - core/jquery.ui.position
    
    @@ -40,6 +39,7 @@ quickedit:
    +    - core/popperjs
    

    🥳

Overall review

  1. 👍 Manually tested: this works perfectly!
  2. 👍 This adds the https://github.com/FezVrasta/popper.js library, version 1.15.0. Assessment:
  3. 👍 The license of Popper.js is MIT, which is GPL-compatible.
  4. 👎 ✅ This should use the popper.min.js (21 KB ungzipped), not popper.js (88 KB ungzipped).
  5. 👍 core/jquery.ui.position's position-min.js is 6 KB ungzipped (but minified), but depends on core/jquery.ui which is another 8 KB ungzipped (but minified) which itself depends on core/jquery which is another 88 KB ungzipped (but minified). There is not a huge difference in download size, this is one step on the way to not use jQuery everywhere, and the only place it is used in Drupal core (Quick Edit) is very JS-heavy anyway.
  6. 👍 Nothing major came up in the patch review (see below) — only nits, which I just fixed for you.

All thumbs up, so … RTBC! 🥳 — RTBC once we get a positive response at https://github.com/FezVrasta/popper.js/issues/823 :)

wim leers’s picture

Status: Needs review » Reviewed & tested by the community

I think the response from the Popper.js maintainer at https://github.com/FezVrasta/popper.js/issues/823#issuecomment-525350214 addressed our concerns! 🥳

FezVrasta’s picture

I quickly looked at the diff, note that `preventOverflow` and `flip` are two Popper.js modifiers, so they should all live into the `modifiers` object.

+ that.popper = new Popper(referenceElement, popperElement, {
+                placement: `top-${popperedge}`,
+                modifiers: {
+                  flip: {
+                    behavior: ['top', 'bottom'],
+                  },
+                  computeStyle: {
+                    gpuAcceleration: false,
+                  },
+                  preventOverflow: {
+                    boundariesElement,
+                  },
+                },
+                onCreate: refinePopper,
+                onUpdate: refinePopper,
+              });
droplet’s picture

I compared the old and new implementation. I can't tell which is correct. There're working differently.

+++ b/core/modules/quickedit/js/views/EntityToolbarView.es6.js
@@ -291,82 +291,83 @@
+          const isBelow = data.offsets.popper.top > data.offsets.reference.top;
+          data.instance.popper.classList.toggle(
             'quickedit-toolbar-pointer-top',
             isBelow,
           );

I don't understand the code comments in the refinePopper. I think only the above code is still used. Other parts of code can be removed from the new implementation?

_.defer for onCreate/onUpdate is required if we take performance seriously

If no BC, this is able to style with x-placement, no more extra class. x-placement is also the Poper.js way to style things. I always preferred not to create our own thing. Otherwise, other lib supporting Poper.js can't connect with Drupal without modification :P

+++ b/core/modules/quickedit/js/views/EntityToolbarView.es6.js
@@ -291,82 +291,83 @@
+                    gpuAcceleration: false,

I think this is worth to drop a TODO and come back to fix the tests when we have time. A better and simple deal, I'd export it to drupalSetting and override it on tests only. I didn't investigate the code deeply, probably this is already able to get the instance from Backbone or something.

zrpnr’s picture

When this issue is completed, the only dependencies on jQuery UI Position will be other jQuery UI libraries!

In core, jQueryUI Position is primarily used by other jQuery UI libraries that will be deprecated.

Created #3078116: Deprecate jquery.ui.position to return to once those other issues are completed.

lauriii’s picture

Status: Reviewed & tested by the community » Needs work
StatusFileSize
new35.97 MB
  1. The behavior would be much closer to what we had before if we would address #24.
  2. It seems like the quickedit toolbar movement is stuttering a bit. Is this even something we could solve? This doesn't necessarily have to block a commit but in that case, it would be good to open a follow-up to research that.

    Edit: maybe it's not stuttering. It could be just that while transitioning, the toolbar moves too low and because the toolbar needs to move back, it makes it look like it's stuttering.

  3. +++ b/core/modules/quickedit/js/views/EntityToolbarView.es6.js
    @@ -291,82 +291,83 @@
    +            if (!popperElement.classList.contains('js-popper--processed')) {
    ...
    +              popperElement.classList.add('js-popper--processed');
    

    Maybe we could just rename this to js-popper-processed. No need for BEM style modifiers on js- prefixed classes.

wim leers’s picture

#27: weird, that's not the behavior I observed. Maybe due to viewport dimension differences. If #24 fixes it, great, once a new patch is uploaded I'll manually test again.

zrpnr’s picture

Status: Needs work » Needs review
StatusFileSize
new127.46 KB
new543.9 KB
new3.27 KB

Welcome @FezVrasta! Thank you for that suggestion, I made the change and it fixed the issues I was seeing with toolbar placement and flip.

toolbar flip

More specifically, the jQuery UI suggested.top value and the Popper data.offsets.popper.top value in the refine method are now the same.

#27.2 The toolbar seemed a little jumpy to me too, and it would sometimes shoot across the screen a bit erratically. I think it was due to the modifiers as well.

#27.3 Changed to js-popper-processed.

wim leers’s picture

Status: Needs review » Reviewed & tested by the community
+++ b/core/modules/quickedit/js/views/EntityToolbarView.js
@@ -163,42 +163,59 @@
+                computeStyle: {
+                  gpuAcceleration: false
+                },

I suspect gpuAcceleration: false is the reason for the occasional stuttering.

@finnsky did this in #19 to make tests pass.

I changed it locally to true, but it still stutters from time to time.

It looks like other people have run into this too: https://github.com/FezVrasta/popper.js/issues/699 and especially https://github.com/FezVrasta/popper.js/issues/720. The latter is actively being worked on by @FezVrasta.

Honestly, this slight stutter is not the end of the world. I do not think it should block us from migrating away from https://jqueryui.com/position/. Even more so because the current positioning itself is imperfect already — see #2090945: Polish entity toolbar's positioning.

bnjmnm’s picture

Title: Replace jQuery UI position() with supported solution » Replace jQuery UI position() with PopperJS
Issue summary: View changes
bnjmnm’s picture

Issue summary: View changes

Updated IS again because <del> is exotic to me.

lauriii’s picture

The patch is > 500kb because it's adding both, a non-minified version and a minified version of the library. Should we remove the non-minified version of the library from the patch?

wim leers’s picture

#33: does that really matter? Including the unminified version is handy to be able to swap out during debugging. We also do this for Backbone, jQuery, jQuery Once. We don't do it for the other JS libs in core/assets/vendor apparently.

lauriii’s picture

#34 If we store unnecessary code in core, it leads into more data transferred when sites are being updated which as a result increases our carbon print. Maybe this doesn't feel all that significant but in large scale, even small things have some impact. As far as I can see, there are 11 .js files being added as part of the library which only one is being used. If we can avoid 400kb from being added to core, it could help us save over 110gb of data being transferred as part of each Drupal release.

I do agree that we should keep the DX in mind, and therefore we should keep the .map files which would enable debugging with less data being added to core.

wim leers’s picture

Status: Reviewed & tested by the community » Needs work

which as a result increases our carbon print.

❤️🌱🌍 You've convinced me!

bnjmnm’s picture

Status: Needs work » Needs review
StatusFileSize
new390.27 KB
new154.57 KB

Removed the superfluous files and also moved where popperjs appears in core.libraries.xml so it's consistent with the comment at the top of the file

# All libraries are defined in alphabetical order.
xjm’s picture

Since this is adding a new JS dependency to core, we should have explicit framework, release, and JS maintainer signoff. Adding the dependency information and evaluation to the IS under the API changes section. I answered the first few points but left the code quality signoff to the framework managers and need evaluation of the package's own dependencies: https://github.com/FezVrasta/popper.js/blob/master/package.json

The IS is confusing; did we change the proposed resolution? I'd say just make the proposed resolution say "Use popper.js" and then put the struck-through bullets under remaining tasks. :)

xjm’s picture

Issue summary: View changes
wim leers’s picture

Issue summary: View changes
  1. Other dependencies it would add, if any: Workspaces (?) plus some dev dependencies: https://github.com/FezVrasta/popper.js/blob/master/package.json

Popper.js has no dependencies. https://github.com/FezVrasta/popper.js says that too:

Popper.js has zero dependencies. No jQuery, no LoDash, nothing.

It only has dev dependencies, which do not affect us (Drupal): https://github.com/FezVrasta/popper.js/blob/master/package.json#L6.

Workspaces is a yarn thing: https://yarnpkg.com/lang/en/docs/workspaces/, https://yarnpkg.com/blog/2017/08/02/introducing-workspaces/. It's not a dependency.

  1. Code quality: Is it ES6? Modern best-practices? Etc.

ES6 = ES2015. And the Popper.js project page says:

The whole code base is written in ES2015, and its features are automatically tested on real browsers thanks to SauceLabs and TravisCI.

It has 95% test coverage, has hundreds op hundreds upon dependents. I think that means it meets the bar.

wim leers’s picture

Note: IMHO we could mark the core/jquery.ui.position asset library as deprecated in this issue, but we already have #3078116: Deprecate jquery.ui.position for that as a follow-up. Doing it separately also works for me — the only thing that matters is that it actually happens :)

lauriii’s picture

Issue summary: View changes
lauriii’s picture

I still think we should mark core/jquery.ui.position as deprecated in a follow-up since we will still have other jQuery UI libraries using it after this change, and therefore we don't know when we would be able to actually remove it.

The package.json previously linked in this issue is a monorepo file that doesn't affect us. However, looking at the actual package.json in https://github.com/FezVrasta/popper.js/blob/master/packages/popper/packa..., it seems that there also isn't any actual runtime dependencies.

The library itself looks impressive. The code and APIs are well documented. As mentioned by @Wim Leers in #40, it also has tests running on multiple browsers.

It seems like most desktop browsers supported by Drupal are automatically covered by their automated tests. It seems like Opera is the only desktop browser missing from if we use the list that we've been discussing in: #2390621: [policy, no patch] Update Drupal's browser support policy. We should also manually ensure that the behavior remains functional on supported mobile browsers since the library isn't tested automatically on any mobile browsers.

catch’s picture

The combination of xjm and Wim Leers' work here means I think we can remove the needs release manager review tag.

Agreed on not marking jQuery UI Position deprecated until we've deprecated the other libraries that it depends on.

bnjmnm’s picture

Issue created for deprecating jquery.ui.position once the libraries requiring it are deprecated #3081532: deprecate jquery.ui.position

wim leers’s picture

deprecated in a follow-up since we will still have other jQuery UI libraries using it after this change, and therefore we don't know when we would be able to actually remove it.

Good catch, makes sense!

It seems like Opera is the only desktop browser missing

Fortunately modern Opera is Chromium-based, so if works on Chrome it reasonably should also work on Opera, unless in obscure areas. This is far from obscure, so should behave identical.

bnjmnm’s picture

I performed additional manual tests on browsers not included in the tests mentioned in #43 Consisted of working with quickedit on a node with several fields where I scrolled and switched fields often in an attempt to trip up PopperJS. In each instance there was no noticeable difference between it and jQueryUI position.
Desktop: Opera
iOS: Safari (as far as I know emulators do not provide the ability to install other browsers?)
Android: Chrome, Firefox, Opera

wim leers’s picture

Excellent! I think most of the issue summary update improvements that @xjm asked for in #38 have happened, but we should mention we did manual tests in browsers and link to the relevant comments. Once the issue summary update happened.

Frontend framework manager review happened (by @lauriii in #43), I don't think this needs non-frontend framework manager review on top of that.

The only real remaining task here is JavaScript maintainer review.

justafish’s picture

Status: Needs review » Reviewed & tested by the community

There's some "that" usage it would be nice to get rid of it, but looks like that came from the current implementation so it's fine with me for it to not be in scope for this change.

I tested this with quick edit in Umami and it works well 👍

lauriii’s picture

Thanks for the review @justafish! Confirmed in DM that we can remove the "needs JavaScript review" tag now. 👏

larowlan’s picture

I think a missing element here is follow up task to add a PR against https://github.com/FezVrasta/popper.js/blob/master/MENTIONS.md to propose adding Drupal to the list.

Great work all.

wim leers’s picture

We still need that issue summary update, and a the follow-up that @larowlan mentioned also sounds sensible :)

lauriii’s picture

Issue summary update was requested in #38. AFAIK all of the points that were asked to be updated, has received an update between now and then.

xjm’s picture

💃🏻

zrpnr’s picture

We still need that ... follow-up that @larowlan mentioned

Added #3085051: Follow-up to #3074267 to propose adding Drupal to popper.js mentions for @larowlan suggestion in #51

bojanz’s picture

Great work, everyone!

It might also make sense to adopt tooltip.js (which is based on popper.js) as a replacement for jquery.ui.tooltip. I'll raise this in #2207383: Create a tooltip component.

catch’s picture

Issue summary: View changes
Issue tags: +Needs change record, +Drupal 8.8.0 release notes

We're missing a change record here. It should have instructions for contrib/custom code that is directly using the jQuery library (even if it's just a pointer to the changes that were made for quickedit).

Also a release notes snippet.

zrpnr’s picture

Issue summary: View changes

Added a draft change record
I updated the IS as well to add a short release notes snippet.

wim leers’s picture

Issue summary: View changes
Issue tags: -Needs change record

Thanks, @zrpnr! Fixed some nits, but looks 👍

johnwebdev’s picture

It would be really nice to have a "See instructions for contrib/custom code" link in the change record, I recall someone had written something about that somewhere, but can't seem to locate it. :p

droplet’s picture

The remarkable part is the `boundariesElement` element, which is a custom element to avoid the toolbar issue. (Now come up an idea to rename it to reflect the usage)

Other than that, the official docs should tell more details.

This patch is not a good example I think. This is a complicated case and as my code review above, few parts of the code are unnecessary.

Version: 8.8.x-dev » 8.9.x-dev

Drupal 8.8.0-alpha1 will be released the week of October 14th, 2019, which means new developments and disruptive changes should now be targeted against the 8.9.x-dev branch. (Any changes to 8.9.x will also be committed to 9.0.x in preparation for Drupal 9’s release, but some changes like significant feature additions will be deferred to 9.1.x.). For more information see the Drupal 8 and 9 minor version schedule and the Allowed changes during the Drupal 8 and 9 release cycles.

xjm’s picture

Issue tags: -Drupal 8.8.0 release notes +8.8.0 release notes

Status: Reviewed & tested by the community » Needs work

The last submitted patch, 37: 3074267-37.patch, failed testing. View results

catch’s picture

Status: Needs work » Needs review
Issue tags: -JavaScript +JavaScript

Test fails are unrelated, back to needs review.

wim leers’s picture

Status: Needs review » Reviewed & tested by the community

It actually was at RTBC, so restoring to that status.

xjm’s picture

Issue summary: View changes

Expanding the release note.

xjm’s picture

Issue summary: View changes
Issue tags: -Needs release manager review

Alright, @catch and I agreed this is probably a safe change to make in 8.8. It's purely API addition plus internal change to QuickEdit; we aren't even deprecating the jQuery UI library since position is also required internally by dialog and such. And it's highly unlikely that anyone is going to be fiddling with QuickEdit's internal JS.

Thanks everyone! Removing the RM doorstop tag.

wim leers’s picture

And it's highly unlikely that anyone is going to be fiddling with QuickEdit's internal JS.

Let's just say I am both deeply impressed by and feel very sorry for whomever is doing that.

xjm’s picture

Saving issue credits. I also did some more work on the change record: https://www.drupal.org/node/3086643/revisions/view/11595411/11608123

  • xjm committed c0e8fed on 9.0.x
    Issue #3074267 by finnsky, bnjmnm, Wim Leers, zrpnr, lauriii, xjm, catch...

  • xjm committed 9d9f2d6 on 8.9.x
    Issue #3074267 by finnsky, bnjmnm, Wim Leers, zrpnr, lauriii, xjm, catch...

  • xjm committed 404edad on 8.8.x
    Issue #3074267 by finnsky, bnjmnm, Wim Leers, zrpnr, lauriii, xjm, catch...
xjm’s picture

Version: 8.9.x-dev » 8.8.x-dev
Status: Reviewed & tested by the community » Fixed

Committed to 9.0.x, 8.9.x, and 8.8.x, and published the change record. Thanks! Two down, thirty-eight to go...

xjm’s picture

Issue summary: View changes

  • alexpott committed bf51490 on 9.0.x
    Issue #3089752 by bnjmnm, zrpnr: Follow-up to #3074267 Refactor use of...

  • alexpott committed 9b61736 on 8.9.x
    Issue #3089752 by bnjmnm, zrpnr: Follow-up to #3074267 Refactor use of...

  • alexpott committed dac7c6d on 8.8.x
    Issue #3089752 by bnjmnm, zrpnr: Follow-up to #3074267 Refactor use of...

Status: Fixed » Closed (fixed)

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

larowlan credited alexpott.

larowlan’s picture

Popper v2 was released - should we try and update to that before D9 ships?

#3108402: Update to Popper.js to 2.0.0