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

[feat] 텍스트 뷰, 텍스트 필드 잔상 현상 제거 #294

Open
skkimeo opened this issue Mar 24, 2023 · 0 comments
Open

[feat] 텍스트 뷰, 텍스트 필드 잔상 현상 제거 #294

skkimeo opened this issue Mar 24, 2023 · 0 comments
Assignees
Labels
enhancement New feature or request

Comments

@skkimeo
Copy link
Contributor

skkimeo commented Mar 24, 2023

  • 플레이스 홀더 레이블의 fadeOut() 이 isHidden으로 바뀌면서 발생하는 문제로 아래와 같이 바꿔줘야 함
    func textViewDidChange(_ textView: UITextView) {

        let placeholderLabel = self.noteInputView.placeholderLabel
        if textView.text.isEmpty {
            placeholderLabel.fadeIn()
        // FIXME: - TextField쪽도 정리!
        } else if !placeholderLabel.isHidden {
            placeholderLabel.fadeOut()
        }
        self.updateLetterCountLabel(count: textView.text.count)

        // FIXME: Scroll to bottom if possible
    }
@skkimeo skkimeo added the enhancement New feature or request label Mar 24, 2023
@skkimeo skkimeo self-assigned this Mar 24, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant