File tree Expand file tree Collapse file tree 2 files changed +5
-1
lines changed
flutter/lib/src/view_hierarchy Expand file tree Collapse file tree 2 files changed +5
-1
lines changed Original file line number Diff line number Diff line change 3838 - [ changelog] ( https://github.com/getsentry/sentry-cocoa/blob/main/CHANGELOG.md#8360 )
3939 - [ diff] ( https://github.com/getsentry/sentry-cocoa/compare/8.35.1...8.36.0 )
4040
41+ ### Fixes
42+
43+ - Only access renderObject if ` hasSize ` is true ([ #2263 ] ( https://github.com/getsentry/sentry-dart/pull/2263 ) )
44+
4145## 8.8.0
4246
4347### Features
Original file line number Diff line number Diff line change @@ -255,7 +255,7 @@ class _TreeWalker {
255255 double ? alpha;
256256
257257 final renderObject = element.renderObject;
258- if (renderObject is RenderBox ) {
258+ if (renderObject is RenderBox && renderObject.hasSize ) {
259259 final offset = renderObject.localToGlobal (Offset .zero);
260260 if (offset.dx > 0 ) {
261261 x = offset.dx;
You can’t perform that action at this time.
0 commit comments