D9 Readiness - Popper

Created on 1 November 2021, over 2 years ago
Updated 30 January 2023, over 1 year ago

Problem/Motivation

Module includes static bundle of a version of tippy.js that only works with v1 of Popper. Since D9 is now using v2 of Popper.js, the static file no longer instantiates correctly.

Steps to reproduce

Install module on instance of D9 and see that all tippy tooltips fail with an instantiation error in the web console.

Proposed resolution

1. Grab static minified bundle from 6.3.3 version of tippy that uses v2 of popper as dependency.

Note: doesn't look like tippy.js is included in composer packagist. If it ever does get included, it is probably preferable to have the package managed via composer and have the library definition reference whatever version of tippy is available in libraries directory.

Remaining tasks

1. Create patch that hard codes a more modern version of the tippy.js minified bundle.

User interface changes

API changes

Data model changes

πŸ› Bug report
Status

Needs review

Version

1.0

Component

Code

Created by

Live updates comments and jobs are added and updated live.
Sign in to follow issues

Comments & Activities

Not all content is available!

It's likely this issue predates Contrib.social: some issue and comment data are missing.

Production build 0.69.0 2024