posit-dev / posit-dev/py-shiny
Small UI bug: input_slider causes a grey outline box to appear briefly when the app starts
Open
Nobody has claimed this yet.
needs-triage
- Dominant language
- Python
- Stars
- 1.8k
- Forks
- 135
- Avg merge
- 2d 18h
- Merged PRs (30d)
- 21
Description
On Windows 10, in both Chrome and Edge.
Code:
from shiny import App, ui
app_ui = ui.page_fluid(
ui.input_slider("foo", "foo", 0, 10, 5),
ui.input_slider("bar", "bar", 0, 10, 5)
)
def server(input, output, session):
pass
app = App(app_ui, server)
Result:
Contributor guide
No contributing guide indexed for this repository
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start with the minimal app using two ui.input_slider controls and reproduce the startup behavior on Windows 10 in Chrome and Edge. Trace the input_slider UI rendering and identify the cause of the brief grey outline; done means the app starts without the transient grey box while the sliders still render correctly.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- python
- Domain
- frontend
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 45/100