From cdc189c259caf6f7bbb3c5e733e5c27c36b7dc33 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Simon=20St=C3=B8vring?= Date: Sun, 11 Sep 2022 18:49:28 +0200 Subject: [PATCH] Fixes issue where TextView could not be scrolled (#178) --- Sources/Runestone/TextView/TextInput/TextInputView.swift | 1 + 1 file changed, 1 insertion(+) diff --git a/Sources/Runestone/TextView/TextInput/TextInputView.swift b/Sources/Runestone/TextView/TextInput/TextInputView.swift index 16ba78e9c..614335ae6 100644 --- a/Sources/Runestone/TextView/TextInput/TextInputView.swift +++ b/Sources/Runestone/TextView/TextInput/TextInputView.swift @@ -629,6 +629,7 @@ final class TextInputView: UIView, UITextInput { inputDelegate?.selectionDidChange(self) } if notifyDelegateAboutSelectionChangeInLayoutSubviews { + notifyDelegateAboutSelectionChangeInLayoutSubviews = false delegate?.textInputViewDidChangeSelection(self) } }