posit-dev / posit-dev/py-shiny

Small UI bug: input_slider causes a grey outline box to appear briefly when the app starts

Open
#770 0 comments 0 reactions 0 assignees View on GitHub

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:

https://www.loom.com/share/29bb1ffd892448f9b42ff0adf05eaaa6

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. 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

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.