From 872a8722af6e615710f738b281588b92ebcd20a5 Mon Sep 17 00:00:00 2001 From: Justin Mazzocchi <2831158+jzzocc@users.noreply.github.com> Date: Tue, 16 Feb 2021 21:32:13 -0800 Subject: [PATCH] Prevent flash of text field --- Views/UIKit/CompositionView.swift | 1 + 1 file changed, 1 insertion(+) diff --git a/Views/UIKit/CompositionView.swift b/Views/UIKit/CompositionView.swift index bd71646..c567b4c 100644 --- a/Views/UIKit/CompositionView.swift +++ b/Views/UIKit/CompositionView.swift @@ -95,6 +95,7 @@ private extension CompositionView { spoilerTextField.placeholder = NSLocalizedString("status.spoiler-text-placeholder", comment: "") spoilerTextField.inputAccessoryView = spoilerTextinputAccessoryView spoilerTextField.tag = spoilerTextinputAccessoryView.tagForInputView + spoilerTextField.isHidden_stackViewSafe = true spoilerTextField.addAction( UIAction { [weak self] _ in self?.spoilerTextFieldEditingChanged() }, for: .editingChanged)