Workaround for select fields causing page overflow on iOS
authorAlexander Ebert <ebert@woltlab.com>
Fri, 7 May 2021 13:26:09 +0000 (15:26 +0200)
committerAlexander Ebert <ebert@woltlab.com>
Fri, 7 May 2021 13:26:09 +0000 (15:26 +0200)
wcfsetup/install/files/style/layout/layout.scss

index de960e1d95d0ccdcc26facda5943f230f1d794ab..cd99969393e8b9c4d6361efe164e3bfb330c22ae 100644 (file)
@@ -45,6 +45,14 @@ a {
        flex-direction: column;
 }
 
+/* <select> fields placed inside a flexbox parent while containing
+   long select options will cause an invisible page overflow, when
+   one such option is selected. The <select> itself stays within the
+   boundaries, but a scrollbar will appear. */
+html.iOS select {
+       overflow: hidden;
+}
+
 /* COLUMN LAYOUT */
 .pageHeaderContainer,
 .boxesHeaderBoxes,