Skip to content

armgit / bento

Public Imported from GitHub
0

Bento, the office suite that fits in a file

Fix: dropdowns rendered blank text on iOS Safari

nyblnet1a3cf86b4270
diff --git a/CHANGELOG.md b/CHANGELOG.md
index f3730468..ab68ba5a 100644
--- a/CHANGELOG.md
+++ b/CHANGELOG.md
@@ -11,6 +11,11 @@ pre-1.0.
## [Unreleased]
+- **Fix: dropdowns rendered blank on iOS Safari.** WebKit draws a `<select>`'s
+ chosen value as empty text when any ancestor sets `user-select: none` — which
+ `.ed-root` does for the whole drag-driven UI. Form fields (`select`, `input`,
+ `textarea`, contenteditable) now restore `user-select: auto` explicitly.
+
- **Skill renamed `bento-deck` → `bento-slides`** and moved into a Claude Code
plugin marketplace at the repo root (`/plugin marketplace add nyblnet/bento`,
then `/plugin install bento-slides@bento`). Also published as a claude.ai
diff --git a/slides/src/styles.css b/slides/src/styles.css
index 79ed3070..9359d053 100644
--- a/slides/src/styles.css
+++ b/slides/src/styles.css
@@ -32,6 +32,13 @@ html, body {
flex-direction: column;
user-select: none;
}
+/* iOS Safari (WebKit) renders a <select>'s chosen value as BLANK text when any
+ ancestor sets user-select:none — restore it on form fields app-wide. Inputs
+ and textareas need it too or the iOS text-selection caret misbehaves. */
+select, option, input, textarea, [contenteditable='true'] {
+ -webkit-user-select: auto;
+ user-select: auto;
+}
/* ————— topbar ————— */