mirror of
https://github.com/flutter/flutter.git
synced 2026-02-20 02:29:02 +08:00
It fixes an issue in `CompositionAwareMixin` causing wrong deltas being computed and reported to input clients resulting in wrong state when compositing text in rich text editors like [Fleather](https://github.com/fleather-editor/fleather) and possibly others. Reported deltas on Mac: ```console TextEditingDeltaInsertion: start: 0, end: 0, data: k TextEditingDeltaInsertion: start: 1, end: 0, data: y TextEditingDeltaReplacement: start: 0, end: 2, data: ãã TextEditingDeltaInsertion: start: 2, end: 0, data: ã TextEditingDeltaInsertion: start: 3, end: 0, data: h TextEditingDeltaReplacement: start: 0, end: 4, data: ããã㯠TextEditingDeltaReplacement: start: 0, end: 4, data: 仿¥ã¯ ``` Reported deltas on Web (Before): ```console TextEditingDeltaInsertion: start: 0, end: 0, data: k TextEditingDeltaInsertion: start: 1, end: 0, data: y TextEditingDeltaReplacement: start: 0, end: 2, data: ãã TextEditingDeltaInsertion: start: 2, end: 0, data: ã TextEditingDeltaInsertion: start: 3, end: 0, data: h TextEditingDeltaReplacement: start: 0, end: 4, data: ããã㯠TextEditingDeltaInsertion: start: 4, end: 0, data: 仿¥ã¯ ``` Reported deltas on Web (After): ```console TextEditingDeltaInsertion: start: 0, end: 0, data: k TextEditingDeltaInsertion: start: 1, end: 0, data: y TextEditingDeltaReplacement: start: 0, end: 2, data: ãã TextEditingDeltaInsertion: start: 2, end: 0, data: ã TextEditingDeltaInsertion: start: 3, end: 0, data: h TextEditingDeltaReplacement: start: 0, end: 4, data: ããã㯠TextEditingDeltaReplacement: start: 0, end: 4, data: 仿¥ã¯ ``` * Fixes https://github.com/flutter/flutter/issues/131335 * Fixes https://github.com/fleather-editor/fleather/issues/150 [C++, Objective-C, Java style guides]: https://github.com/flutter/engine/blob/main/CONTRIBUTING.md#style
27 lines
995 B
Plaintext
27 lines
995 B
Plaintext
# Below is a list of people and organizations that have contributed
|
|
# to the Sky project. Names should be added to the list like so:
|
|
#
|
|
# Name/Organization <email address>
|
|
|
|
Google Inc.
|
|
The Chromium Authors
|
|
The Fuchsia Authors
|
|
Jim Simon <jim.j.simon@gmail.com>
|
|
Ali Bitek <alibitek@protonmail.ch>
|
|
Jacob Greenfield <jacob.greenfield.256@gmail.com>
|
|
Dan Field <dfield@gmail.com>
|
|
Victor Choueiri <victor@ctrlanddev.com>
|
|
Simon Lightfoot <simon@devangels.london>
|
|
Dwayne Slater <ds84182@gmail.com>
|
|
Tetsuhiro Ueda <najeira@gmail.com>
|
|
shoryukenn <naifu.guan@gmail.com>
|
|
SOTEC GmbH & Co. KG <sotec-contributors@sotec.eu>
|
|
Hidenori Matsubayashi <Hidenori.Matsubayashi@sony.com>
|
|
Sarbagya Dhaubanjar <mail@sarbagyastha.com.np>
|
|
Callum Moffat <callum@moffatman.com>
|
|
Koutaro Mori <koutaro.mo@gmail.com>
|
|
TheOneWithTheBraid <the-one@with-the-braid.cf>
|
|
Twin Sun, LLC <google-contrib@twinsunsolutions.com>
|
|
Qixing Cao <qixing.cao.83@gmail.com>
|
|
LinXunFeng <linxunfeng@yeah.net>
|
|
Amir Panahandeh <amirpanahandeh@gmail.com> |