-
-
Notifications
You must be signed in to change notification settings - Fork 117
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
fix error which calculate child to parent position not include scrollLeft and scrollTop #2
Merged
Conversation
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
andycall
reviewed
Jul 27, 2022
Closed
xuzhongpeng
approved these changes
Aug 15, 2022
yifei8
approved these changes
Aug 15, 2022
1 task
1 task
1 task
yifei8
added a commit
that referenced
this pull request
Dec 27, 2022
```log type 'Null' is not a subtype of type 'ContainerParentDataMixin<RenderBox>' in type cast #0 RenderBoxModel.getPreviousSibling (package:webf/src/rendering/box_model.dart:1371:63) #1 Element.addToContainingBlock (package:webf/src/dom/element.dart:776:50) #2 Element._updateRenderBoxModelWithPosition.<anonymous closure> (package:webf/src/dom/element.dart:756:15) #3 List.forEach (dart:core-patch/growable_array.dart:433:8) #4 Element._updateRenderBoxModelWithPosition (package:webf/src/dom/element.dart:755:32) #5 Element.setRenderStyleProperty (package:webf/src/dom/element.dart:1247:9) #6 Element.setRenderStyle (package:webf/src/dom/element.dart:1536:5) #7 Element._onStyleChanged (package:webf/src/dom/element.dart:1613:7) #8 CSSStyleDeclaration._emitPropertyChanged (package:webf/src/css/style_declaration.dart:566:22) #9 CSSStyleDeclaration.flushPendingProperties (package:webf/src/css/style_declaration.dart:468:7) #10 Element.attachTo (packa ```
1 task
1 task
github-merge-queue bot
pushed a commit
that referenced
this pull request
Nov 8, 2023
…449) 2023-08-07 20:47:25.935739+0800 Runner[7889:8608870] flutter: Stack Overflow #0 _LinkedHashMapMixin.[] (dart:collection-patch/compact_hash.dart:601:3) #1 CSSStyleDeclaration.getPropertyValue (package:webf/src/css/style_declaration.dart:150:30) #2 CSSLength.parseLength (package:webf/src/css/values/length.dart:590:68) #3 CSSLength.parseLength (package:webf/src/css/values/length.dart:590:16) #4 CSSLength.parseLength (package:webf/src/css/values/length.dart:590:16) #5 CSSLength.parseLength (package:webf/src/css/values/length.dart:590:16) ... #2116 Element.setRenderStyleProperty (package:webf/src/dom/element.dart:1402:11) #2117 Element.setRenderStyle (package:webf/src/dom/element.dart:1777:5) #2118 Element._onStyleChanged (package:webf/src/dom/element.dart:1849:7) #2119 CSSStyleDeclaration._emitPropertyChanged (package:webf/src/css/style_declaration.dart:685:22) #2120 CSSStyleDeclaration.flushPendingProperties (package:webf/src/css/style_declaration.dart:457:7) #2121 Element.attachTo (package:webf/src/dom/element.dart:997:13) #2122 Element.ensureChildAttached (package:webf/src/dom/element.dart:1061:17) #2123 Element.didAttachRenderer (package:webf/src/dom/element.dart:600:5) #2124 Element.attachTo (package:webf/src/dom/element.dart:999:7) #2125 Element.ensureChildAttached (package:webf/src/dom/element.dart:1061:17) #2126 Element.didAttachRenderer (package:webf/src/dom/element.dart:600:5) #2127 Element.attachTo (package:webf/src/dom/element.dart:999:7) #2128 Element.ensureChildAttached (package:webf/src/dom/element.dart:1061:17) #2129 Element.didAttachRenderer (package:webf/src/dom/element.dart:600:5) #2130 Element.attachTo (package:webf/src/dom/element.dart:999:7) #2131 Element.appendChild (package:webf/src/dom/element.dart:1094:15) #2132 WebFViewController.insertAdjacentNode (package:webf/src/launcher/controller.dart:461:16) #2133 flushUICommand (package:webf/src/bridge/to_native.dart:524:16) #2134 flushUICommandWithContextId (package:webf/src/bridge/to_native.dart:469:5) #2135 _flushUICommand (package:webf/src/bridge/from_native.dart:371:3) #2136 _FfiCallback_flushUICommand (dart:ffi) #2137 FfiTrampoline__evaluateQuickjsByteCode (dart:ffi) #2138 evaluateQuickjsByteCode (package:webf/src/bridge/to_native.dart:221:40) #2139 evaluateScripts (package:webf/src/bridge/to_native.dart:166:19) #2140 _RootZone.runUnary (dart:async/zone.dart:1660:54) #2141 _FutureListener.handleValue (dart:async/future_impl.dart:147:18) #2142 Future._propagateToListeners.handleValueCallback (dart:async/future_impl.dart:767:45) #2143 Future._propagateToListeners (dart:async/future_impl.dart:796:13) #2144 Future._completeWithValue (dart:async/future_impl.dart:567:5) #2145 _RootZone.runUnary (dart:async/zone.dart:1660:54) #2146 _FutureListener.handleValue (dart:async/future_impl.dart:147:18) #2147 Future._propagateToListeners.handleValueCallback (dart:async/future_impl.dart:767:45) #2148 Future._propagateToListeners (dart:async/future_impl.dart:796:13) #2149 Future._completeWithValue (dart:async/future_impl.dart:567:5) #2150 _RootZone.runUnary (dart:async/zone.dart:1660:54) #2151 _microtaskLoop (dart:async/schedule_microtask.dart:40:21) #2152 _startMicrotaskLoop (dart:async/schedule_microtask.dart:49:5) Co-authored-by: edmond.l <edmond.l@binance.com> Co-authored-by: TIANCHENG <dongtiangche@outlook.com>
1 task
andycall
added a commit
that referenced
this pull request
Sep 9, 2024
…r ListView (#650) ``` ══╡ EXCEPTION CAUGHT BY RENDERING LIBRARY ╞═════════════════════════════════════════════════════════ The following _TypeError was thrown during performLayout(): type 'ParentData' is not a subtype of type 'RenderLayoutParentData' in type cast The relevant error-causing widget was: WebF WebF:file:///Users/user/Desktop/Binance/webf/webf/example/lib/main.dart:214:16 When the exception was thrown, this was the stack: #0 RenderFlexLayout._needToStretchChildCrossSize (package:webf/src/rendering/flex.dart:2243:69) #1 RenderFlexLayout._getAutoMinSize (package:webf/src/rendering/flex.dart:491:38) #2 RenderFlexLayout._getMinMainAxisSize (package:webf/src/rendering/flex.dart:369:28) ```
1 task
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
fix error which calculate child to parent position not include scrollLeft and scrollTop