Skip to content

fix(android): Proper change of input interaction mode programmatically - #10434

Merged
NathanWalker merged 2 commits into
NativeScript:mainfrom
CatchABus:android-user-interaction-enabled-fix
Nov 25, 2023
Merged

NathanWalker merged 2 commits into
NativeScript:mainfrom
CatchABus:android-user-interaction-enabled-fix

Conversation

@CatchABus

@CatchABus CatchABus commented Nov 9, 2023

Copy link
Copy Markdown
Contributor

PR Checklist

What is the current behavior?

There are times when we want to change the interaction of android input elements programmatically. Right now, re-enabling interaction programmatically has no effect.

What is the new behavior?

Android input interaction becomes programmatically toggleable without problems.
That goes for both editable and isUserInteractionEnabled properties.

Fixes #8498.
Fixes #8523 in an alternate way by letting programmatic change of editable to apply at the same time.

@cla-bot cla-bot Bot added the cla: yes label Nov 9, 2023
@CatchABus
CatchABus marked this pull request as ready for review November 9, 2023 22:15
@NathanWalker
NathanWalker merged commit 07d2129 into NativeScript:main Nov 25, 2023
CatchABus added a commit to CatchABus/NativeScript that referenced this pull request Apr 11, 2024
NathanWalker pushed a commit that referenced this pull request Apr 15, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

TextField : setting secure to false has not effect if editable set to false Cannot set "isUserInteractionEnabled" programatically in TextField

2 participants