Fixed
Status Update
Comments
ap...@google.com <ap...@google.com> #2
Thanks! This looks like a bug, thank you for reporting!
na...@google.com <na...@google.com> #3
I would also recommend setting the value to 10%. When you do that, the behavior is wild.
Dragging up to 10% or between 50% and 90% will cause it to snap back to the start anchor.
Dragging between 10% and 50% or past 90% will cause it to snap to the end anchor.
Dragging up to 10% or between 50% and 90% will cause it to snap back to the start anchor.
Dragging between 10% and 50% or past 90% will cause it to snap to the end anchor.
Description
Currently
autoInvalidateNode
is only called when modifier nodes are removed from modifier chain on a layout node, not when the entire layout node is detached. That will be fixed eventually so that it's called whenever a modifier node is going away for any reason.PlatformTextInputModifierNode
needs to be told when it's going away. That code should live inautoInvalidateNode
, but cannot currently because of the above bug. Instead that call has been put inLayoutNode.detach()
, but that's the wrong place for it to live long-term. When the above bug is fixed, it should be moved.