The GitHub Actions job "Required Checks" on 
texera.git/fix/panel-dropdown-follows-scroll has failed.
Run started by GitHub user Yicong-Huang (triggered by Yicong-Huang).

Head commit for run:
1d225a9c8f6aee083be82271285c1862a67f1d89 / Yang Zhang <[email protected]>
fix(frontend): let a dropdown opened in a workspace panel, or on the Form View, 
follow the scroll

A dropdown opened in the operator property panel stayed where it opened
while the panel scrolled away beneath it, and the same on the Form View
page, whose page scrolls. Two causes, both needed. The list is a CDK
overlay with a reposition-on-scroll strategy, which hears about scrolling
only from containers registered as CdkScrollable: the panel's scroller
(#content) and the form's host (the page's scroller) were not. And the
bundle carried two @angular/cdk copies -- ng-zorro-antd declares cdk as a
regular dependency with the range ^21.0.0, which Yarn had resolved to a
nested 21.2.8 beside the app's 21.2.14 -- each with its own
ScrollDispatcher, so a dropdown nz-select builds listened to one while a
registration by the app landed in the other.

yarn dedupe @angular/cdk folds ng-zorro's descriptor onto the app's copy,
and CI now runs yarn dedupe --check @angular/cdk after the install so a
second copy cannot come back unnoticed. #content carries cdkScrollable on
the property editor and, having the same shape (an inner scroller with
overlays inside), on the left, result and agent panels; the Form View
hosts CdkScrollable. Each spec pins the registration with the root
ScrollDispatcher, not the directive's presence.

Co-Authored-By: Claude Fable 5.1 <[email protected]>

Report URL: https://github.com/apache/texera/actions/runs/44267229056

With regards,
GitHub Actions via GitBox

Reply via email to