Skip to content

Commit

Permalink
[Fix/#288] 키보드가 떠 있을 때 토스트가 뜨면 키보드가 일시적으로 내려가는 문제 해결
Browse files Browse the repository at this point in the history
  • Loading branch information
nolanMinsung committed Nov 18, 2024
1 parent 7025368 commit 3850cff
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,7 @@ final class ORBToastManager {
toastWindow = nil
DispatchQueue.main.async {
self.toastWindow = ORBToastWindow(message: message, inset: inset, withImage: image)
self.toastWindow?.isHidden = false
self.toastWindow?.hideAnimator.addCompletion({ [weak self] _ in
guard let self else { return }
self.toastWindow = nil
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -96,7 +96,6 @@ extension ORBToastWindow {
}

func showToast() {
makeKeyAndVisible()
layoutIfNeeded()
DispatchQueue.main.async { [weak self] in
guard let self else { return }
Expand Down

0 comments on commit 3850cff

Please sign in to comment.