Skip to content

[pull] main from adobe:main - #450

Merged
pull[bot] merged 4 commits into
code:mainfrom
adobe:main
Jul 23, 2026
Merged

[pull] main from adobe:main#450
pull[bot] merged 4 commits into
code:mainfrom
adobe:main

Conversation

@pull

@pull pull Bot commented Jul 23, 2026

Copy link
Copy Markdown

See Commits and Changes for more details.


Created by pull[bot] (v2.0.0-alpha.4)

Can you help keep this open source service alive? 💖 Please sponsor : )

LFDanLu and others added 4 commits July 22, 2026 20:47
…se-on-scroll fix (#10188)

* fix: Virtualizer, useCloseOnScroll are able to work in the shadow DOM (#10093)

* reduce scope of testing, add tests for helper, fix storybook behaviours

* fix ts

* getPropagationTargets `to` can be a non-global node

* feat: lint rules for non-composing events on addEvent/addEventListener

Add two rsp-rules ESLint rules to prevent shadow DOM regressions with
non-composing events (scroll, scrollend, change, submit, reset, select,
selectstart, slotchange), which do not cross shadow DOM boundaries:

- add-event-non-composing: flags addEvent(target, 'scroll', ...) unless the
  target is getPropagationTargets(...).
- no-non-composing-event-listener: flags x.addEventListener('scroll', ...) for
  non-composing events, exempting non-DOM-tree receivers (visualViewport,
  MediaQueryList).

Both rules are enabled globally and disabled for non-shipping code (tests,
stories, docs, chromatic, dev). Existing legitimate element-scoped listeners in
useFormValidation, useFormReset, and Chat carry inline exemptions with
explanations.

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>

* Fix imports not ultimately used

* rename test

---------

Co-authored-by: Rob Snow <rsnow@adobe.com>
Co-authored-by: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
Co-authored-by: Daniel Lu <dl1644@gmail.com>
…alog into view (#10339)

* fix: restore focus without scrolling in FocusScope containment

* fix: route containment restore through focusElement for owner-document scroll safety

* create a test for the goal, not the implementation

---------

Co-authored-by: Matt Van Horn <455140+mvanhorn@users.noreply.github.com>
Co-authored-by: Rob Snow <rsnow@adobe.com>
@pull pull Bot locked and limited conversation to collaborators Jul 23, 2026
@pull pull Bot added the ⤵️ pull label Jul 23, 2026
@pull
pull Bot merged commit 7e58986 into code:main Jul 23, 2026
@github-actions github-actions Bot added the S2 label Jul 23, 2026
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants