-
-
Notifications
You must be signed in to change notification settings - Fork 1.6k
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
IOS: Applying class to secure TextField randomly change it's font-size #3221
Comments
Hello @konradkubiec I have tested your case but was not able to reproduce it at my side. If you are still hitting the issue afterward, perhaps you can send us a sample project that reproduces this behaviour. |
I've updated NativeScript CLI and rebuilt platforms. I see a difference in app styling but there is the same bug with TextField. I'll prepare a repo tomorrow with a sample app so it will be easier to replicate my situation. |
@NickIliev Did you have time to take a look at my demo? |
@konradkubiec I am on it - will write back when I have more information Update: can confirm that I am reproducing this behavior at my side - logging this as a bug. |
Code to reproduce here
|
This thread has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs. |
Did you verify this is a real problem by searching [Stack Overflow].
Yes. I didn't find any discussion on this topic.
Which platform(s) does your issue occur on?
iOS
Please provide the following version numbers that your issue occurs with:
"tns-android"
and"tns-ios"
properties in thepackage.json
file of your project)Please tell us how to recreate the issue in as much detail as possible.
First, you need a secured TextField with some text. Add CSS class (or by [class.className]="condition", or by changing className in component code) to this TextField or it's parents. Font-size will unexpectedly change. You can prevent some of the changes by adding font-size in new-assigned CSS class definition. When you remove the class, font-size will change to some unexpected size. When you change TextField text, font-size changes again...
Is there code involved? If so, please share the minimal amount of code needed to recreate the problem.
XML:
CSS:
Use Switch and TextField text changes to see how font-size changes.
PS. Is there any method to remove this up-down move in iOS secure TextField content, that happens when a character changes to * or when you add a new character to ****** ?
The text was updated successfully, but these errors were encountered: