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

Entering numbers too quickly bypasses formatting #37

Open
DrBeak1 opened this issue Jun 14, 2018 · 0 comments
Open

Entering numbers too quickly bypasses formatting #37

DrBeak1 opened this issue Jun 14, 2018 · 0 comments

Comments

@DrBeak1
Copy link

DrBeak1 commented Jun 14, 2018

Tapping numbers too quickly in BKNumberField breaks formatting and is not recoverable unless the view is reloaded. I believe it's due to cardPatternInfo not being properly instantiated fast enough. We end up with BKCardNumberFormatter.cardPatternInfoWithNumberString returning nil and setting self.cachedPrefix and self.cardPatternInfo to nil. This then never recovers. I can try to find a solution, but don't have time at the moment. Just wanted to point it out for now.

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

1 participant