-
Notifications
You must be signed in to change notification settings - Fork 1.8k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Text needs to be set before other properties #16116
Merged
Merged
Conversation
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
rachelkang
reviewed
Jul 13, 2023
rachelkang
reviewed
Jul 13, 2023
src/Core/tests/DeviceTests.Shared/HandlerTests/HandlerTestBasementOfT.cs
Show resolved
Hide resolved
rachelkang
reviewed
Jul 13, 2023
rachelkang
reviewed
Jul 13, 2023
rachelkang
reviewed
Jul 13, 2023
rachelkang
reviewed
Jul 13, 2023
src/Core/tests/DeviceTests/Handlers/Editor/EditorHandlerTests.cs
Outdated
Show resolved
Hide resolved
@rachelkang this PR is taking longer than expected: #16200 Can we merge this one and I will fix the tests in that one? |
rachelkang
approved these changes
Jul 18, 2023
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM!
samhouts
added
legacy-area-controls
Label, Button, CheckBox, Slider, Stepper, Switch, Picker, Entry, Editor
area-controls-editor
Editor
area-controls-entry
Entry
platform/android 🤖
labels
Jul 19, 2023
This was referenced Jul 20, 2023
Eilon
removed
the
legacy-area-controls
Label, Button, CheckBox, Slider, Stepper, Switch, Picker, Entry, Editor
label
May 10, 2024
samhouts
added
the
fixed-in-8.0.0-preview.7.8842
Look for this fix in 8.0.0-preview.7.8842!
label
Aug 2, 2024
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
Labels
area-controls-editor
Editor
area-controls-entry
Entry
fixed-in-8.0.0-preview.7.8842
Look for this fix in 8.0.0-preview.7.8842!
platform/android 🤖
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Description of Change
It appears that setting
EditText.InputType
will trigger theTextChanged
event. This could - and does - happen in #15058 when we no longer chain the mappers forcing theText
mapper to always run first.The reason the order matters for us is that
EditText
is a generic text input control and the default mode is actually multiline. We remove the multiline support forEntry
and this will always require setting theInputType
. However, this is really a very short term solution as other things touch that property:IsPassword
,Keyboard
,IsReadOnly
and even spell check things. As a result, we would have to move all those thing to happen after the text is set.This PR is the correct fix that was in #16077