[DPEDE-6449] Replace deprecated Popper.js with Floating UI#1972
Conversation
|
The CI pipeline did not run successfully in https://jenkinsprod.corp.intranet:8443/job/UX-CHI/job/Productive/job/Chi/job/PR-1972/1/. ❌ |
|
The CI pipeline did not run successfully in https://jenkinsprod.corp.intranet:8443/job/UX-CHI/job/Productive/job/Chi/job/PR-1972/2/. ❌ |
|
The CI pipeline did not run successfully in https://jenkinsprod.corp.intranet:8443/job/UX-CHI/job/Productive/job/Chi/job/PR-1972/3/. ❌ |
|
The CI pipeline did not run successfully in https://jenkinsprod.corp.intranet:8443/job/UX-CHI/job/Productive/job/Chi/job/PR-1972/4/. ❌ |
|
The CI pipeline did not run successfully in https://jenkinsprod.corp.intranet:8443/job/UX-CHI/job/Productive/job/Chi/job/PR-1972/5/. ❌ |
72d226f to
05a7dcf
Compare
|
The CI pipeline did not run successfully in https://jenkinsprod.corp.intranet:8443/job/UX-CHI/job/Productive/job/Chi/job/PR-1972/6/. ❌ |
|
The CI pipeline did not run successfully in https://jenkinsprod.corp.intranet:8443/job/UX-CHI/job/Productive/job/Chi/job/PR-1972/7/. ❌ |
…Floating-UI-in-chi-custom-elements
|
The CI pipeline did not run successfully in https://jenkinsprod.corp.intranet:8443/job/UX-CHI/job/Productive/job/Chi/job/PR-1972/8/. ❌ |
|
The CI pipeline did not run successfully in https://jenkinsprod.corp.intranet:8443/job/UX-CHI/job/Productive/job/Chi/job/PR-1972/9/. ❌ |
- Add src/chi/javascript/core/floating.js — shared createFloating() factory that wraps Floating UI's computePosition / autoUpdate with flip, shift, and optional hide-when-detached middleware - Add src/chi/javascript/core/portal.js — portalElement() helper that moves an element to a #chi-portal-root container and returns a handle to restore it, replacing manual parent/sibling tracking - Add src/chi/components/portal/portal.scss and $zindex-portal-root: 9999 variable; expose as --chi-zindex-portal-root CSS custom property across all six themes - Refactor dropdown.js to use createFloating + portalElement, removing the inline computePosition object and eliminating _portalOriginalParent/_portalOriginalNextSibling state in favor of _portalHandle; skip hide-when-detached middleware when portaled to prevent mid-scroll collapse - Refactor popover.js and tooltip.js similarly to delegate to createFloating - Extend popover.scss arrow-direction rules to also match Popper [x-placement^='…'] attribute selectors to eliminate a low risk breaking change
|
The CI pipeline did not run successfully in https://jenkinsprod.corp.intranet:8443/job/UX-CHI/job/Productive/job/Chi/job/PR-1972/10/. ❌ |
…Floating-UI-in-chi-custom-elements
…Floating-UI-in-chi-custom-elements
|
The CI pipeline did not run successfully in https://jenkinsprod.corp.intranet:8443/job/UX-CHI/job/Productive/job/Chi/job/PR-1972/12/. ❌ |
https://lumen.atlassian.net/browse/DPEDE-6449