You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The expression in the if statement seems buggy. It seems that it will happily update a <div> with configuration for a <span> just because both are Element. Instead, we should add bool RenderNode.canUpdateFrom(Node config) and let the render node decide if it's compatible with the configuration object.
The expression in the if statement seems buggy. It seems that it will happily update a
<div>
with configuration for a<span>
just because both areElement
. Instead, we should addbool RenderNode.canUpdateFrom(Node config)
and let the render node decide if it's compatible with the configuration object.Another piece of code with the same issue:
butterfly/lib/src/node.dart
Line 36 in 73914a4
The text was updated successfully, but these errors were encountered: