Fixed
Status Update
Comments
ap...@google.com <ap...@google.com> #2
A couple of questions:
1. Have you saw crash in real device or only in simulators?
2. Do you use dynamic feature for language ID?
1. Have you saw crash in real device or only in simulators?
2. Do you use dynamic feature for language ID?
na...@google.com <na...@google.com> #3
Tested on Android 12 Emulator with custom executor, but cannot repro this issue.
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.