posit-dev / posit-dev/py-shiny
Dataframe Scrollability inconsistency
Nobody has claimed this yet.
- Dominant language
- Python
- Stars
- 1.8k
- Forks
- 135
- Avg merge
- 2d 18h
- Merged PRs (30d)
- 21
Description
When you populate a ui.output_data_frame with a populated pandas dataframe and set the height or width to "100%", the scrollability can be inconstant. I also provided some visuals on what this looks like (I colored out all info from the data frame).
If you set the height to "100%", some of the last rows on the bottom will be missing/not shown if you scroll all the way to the bottom.
If you set the width to "100%", the left-to-right scroll bar would scroll farther than the dataframe itself, showing you a lot of blank space if you move all the way to the right.
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 by reproducing the issue with ui.output_data_frame and a populated pandas dataframe, testing height="100%" and width="100%" separately. Compare the scroll extents with the dataframe bounds; done means the bottom rows remain reachable and horizontal scrolling ends at the dataframe rather than blank space.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- pandas, python
- Domain
- frontend
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 38/100