-
Notifications
You must be signed in to change notification settings - Fork 32
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
feat: Add ResizeObserver to Grid and Chart #1626
Conversation
- ResizeObserver is now widely available in all browsers, so use it to listen for resizing of our grid and plot elements - Pull `grid-wrapper` from `IrisGrid` and put it directly in `Grid` - Now `Grid` doesn't have to listen to the "parent" element, which was kind of strange in the first place. - Tested by opening up some tables and charts, resizing the panels and ensuring they updated correctly.
Codecov ReportAttention:
Additional details and impacted files@@ Coverage Diff @@
## main #1626 +/- ##
==========================================
- Coverage 46.71% 46.70% -0.02%
==========================================
Files 583 584 +1
Lines 36308 36317 +9
Branches 9094 9098 +4
==========================================
Hits 16961 16961
- Misses 19295 19304 +9
Partials 52 52
Flags with carried forward coverage won't be shown. Click here to find out more.
☔ View full report in Codecov by Sentry. |
@mattrunyon updated so you can see the full error message from the UI: |
Right you are - updated the other PR. |
grid-wrapper
fromIrisGrid
and put it directly inGrid
Grid
doesn't have to listen to the "parent" element, which was kind of strange in the first place.