-
Notifications
You must be signed in to change notification settings - Fork 3.2k
Open
Labels
bugSomething isn't workingSomething isn't working
Description
Describe the bug
When set gr.Textbox with max_lines=1, the background of the text box is white in dark mode. Without max_lines=1, it show normal gray background
Have you searched existing issues? 🔎
- I have searched and found no existing issues
Reproduction
import gradio as gr
with gr.Blocks() as demo:
gr.Textbox(max_lines=1, value='Some contents')
gr.Textbox(value='Other contents')
demo.launch(server_port=8080)Screenshot
Logs
UI issue, no log.
System Info
Gradio Environment Information:
------------------------------
Operating System: Darwin
gradio version: 6.1.0
gradio_client version: 2.0.1
------------------------------------------------
gradio dependencies in your environment:
aiofiles: 24.1.0
anyio: 4.12.0
audioop-lts is not installed.
brotli: 1.2.0
fastapi: 0.125.0
ffmpy: 1.0.0
gradio-client: 2.0.1
groovy: 0.1.2
httpx: 0.28.1
huggingface-hub: 1.2.3
jinja2: 3.1.6
markupsafe: 3.0.3
numpy: 2.3.2
orjson: 3.11.5
packaging: 25.0
pandas: 2.3.3
pillow: 12.0.0
pydantic: 2.12.4
pydub: 0.25.1
python-multipart: 0.0.21
pyyaml: 6.0.3
safehttpx: 0.1.7
semantic-version: 2.10.0
starlette: 0.50.0
tomlkit: 0.13.3
typer: 0.20.0
typing-extensions: 4.14.1
uvicorn: 0.38.0
mcp is not installed.
pydantic: 2.12.4
authlib is not installed.
itsdangerous: 2.2.0
gradio_client dependencies in your environment:
fsspec: 2025.12.0
httpx: 0.28.1
huggingface-hub: 1.2.3
packaging: 25.0
typing-extensions: 4.14.1Severity
I can work around it
Metadata
Metadata
Assignees
Labels
bugSomething isn't workingSomething isn't working