Skip to content

fix: fireEvent.layout direct event - #1937

Merged
mdjastrzebski merged 9 commits into
mainfrom
fix/fire-event-layout-direct-event
Oct 5, 2026
Merged

mdjastrzebski merged 9 commits into
mainfrom
fix/fire-event-layout-direct-event

Conversation

@mdjastrzebski

@mdjastrzebski mdjastrzebski commented Oct 5, 2026 •

Copy link
Copy Markdown
Member

Summary

Not yet released fierEvent.layout behaved like bubbling event. This PR fixes it. As well as includes layout in the native state, so that initial fireEvent.layout call will prime the layoutMeasurement for scroll events.

Test plan

Added relevant tests

@codecov

codecov Bot commented Oct 5, 2026 •

Copy link
Copy Markdown

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 98.47%. Comparing base (b87a246) to head (d342916).

Additional details and impacted files
@@            Coverage Diff             @@
##             main    #1937      +/-   ##
==========================================
- Coverage   98.51%   98.47%   -0.04%     
==========================================
  Files          81       81              
  Lines        1547     1578      +31     
  Branches      424      439      +15     
==========================================
+ Hits         1524     1554      +30     
- Misses         23       24       +1     

☔ View full report in Codecov by Harness.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.
  • 📦 JS Bundle Analysis: Save yourself from yourself by tracking and limiting bundle sizes in JS merges.

@mdjastrzebski
mdjastrzebski merged commit 2155247 into main Oct 5, 2026
40 checks passed
@mdjastrzebski
mdjastrzebski deleted the fix/fire-event-layout-direct-event branch October 5, 2026 09:34
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant