mirror of
https://github.com/flutter/flutter.git
synced 2026-02-20 02:29:02 +08:00
When readOnly is true, there is no TextInputConnection, so the SystemContextMenu can't be shown. Instead, this shows the Flutter-drawn context menu. This video shows the change. You can slightly tell that the system context menu is shown when readOnly is false and the Flutter-drawn context menu is shown when it is true. https://github.com/user-attachments/assets/91480fa4-cce6-4d63-ae11-df72a229da73 This is the same root cause as https://github.com/flutter/flutter/pull/169238. Fixes https://github.com/flutter/flutter/issues/170521