diff --git a/Documentation/DemoApps/GRDBDemoiOS/GRDBDemoiOS/Base.lproj/Main.storyboard b/Documentation/DemoApps/GRDBDemoiOS/GRDBDemoiOS/Base.lproj/Main.storyboard
index 04f234225..8d863c1f6 100644
--- a/Documentation/DemoApps/GRDBDemoiOS/GRDBDemoiOS/Base.lproj/Main.storyboard
+++ b/Documentation/DemoApps/GRDBDemoiOS/GRDBDemoiOS/Base.lproj/Main.storyboard
@@ -28,6 +28,7 @@
+
@@ -54,6 +55,9 @@
+
+
+
diff --git a/Documentation/DemoApps/GRDBDemoiOS/GRDBDemoiOS/PlayerEditionViewController.swift b/Documentation/DemoApps/GRDBDemoiOS/GRDBDemoiOS/PlayerEditionViewController.swift
index a4c2de6d9..9c1b15ffd 100644
--- a/Documentation/DemoApps/GRDBDemoiOS/GRDBDemoiOS/PlayerEditionViewController.swift
+++ b/Documentation/DemoApps/GRDBDemoiOS/GRDBDemoiOS/PlayerEditionViewController.swift
@@ -102,6 +102,13 @@ extension PlayerEditionViewController: UITextFieldDelegate {
return false
}
+ @IBAction func textFieldDidChange(_ textField: UITextField) {
+ // User has edited the player: prevent interactive dismissal
+ if case .modal = presentation {
+ isModalInPresentation = true
+ }
+ }
+
private func configureForm() {
guard isViewLoaded else { return }