Skip to content
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

Wrong behaviour on error state. #334

Open
alexeybolv opened this issue Nov 18, 2021 · 2 comments
Open

Wrong behaviour on error state. #334

alexeybolv opened this issue Nov 18, 2021 · 2 comments

Comments

@alexeybolv
Copy link

alexeybolv commented Nov 18, 2021

Report

What did you do?

ℹ I have added latest version and try to use textfield with validation and have problems with error colors.

What did you expect to happen?

Expect to have error color on title and text.

What happened instead?

Only title was colored with error color, but text has black color. It looks like different symbols, eg. "@" "," "." break some logic with colors.

Снимок экрана 2021-11-18 в 23 54 00

Environment

ℹ Please fill in this section with information about your environment

Xcode Version: 13.1
SkyFloatingLabelTextField Version: 4.0
Deployment Target: iOS 15+
Base SDK:
Method of Integration: CocoaPods

Project that demonstrates the issue

ℹ Please link to a project we can download that reproduces the issue if applicable.

Here is small video that shows wrong behaviour.
https://user-images.githubusercontent.com/14241858/142494756-d89314b8-6d9e-436e-b061-984ac865432d.mov

Here is the code, where I change error message, there is no other code that work with textfield.
Снимок экрана 2021-11-18 в 23 52 24

@ami-aman
Copy link

@alexeybolv It shows the same behaviour for me as well but looks like it is an issue with the OS. Check this for a solution which worked for me, if may be it could help you as well.

@alexeybolv
Copy link
Author

@ami-aman thank you, this workaround works for me! Hope, it will be fixed in next iOS versions.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants