Dashboard not scroll up when user moving chart
See original GitHub issueDashboard not scroll up when user moving chart, or adding a new chart at the bottom of long dashboard.
Expected results
Be able to scroll so that chart can go to the place user wants.
Actual results
Doesn’t scroll.
How to reproduce the bug
- open a large dashboard and start Edit mode
- move chart from the bottom of page to dashboard top area
- See dashbaord doesn’t scroll
Environment
(please complete the following information):
- superset version:
master
Screenshots
Checklist
Make sure to follow these steps before submitting your issue - thank you!
- I have checked the superset logs for python stacktraces and included it here as text if there are any.
- I have reproduced the issue with at least the latest released version of superset.
- I have checked the issue tracker for the same issue and I haven’t found one similar.
Additional context
This is regression - it was previously possible to scroll.
Issue Analytics
- State:
- Created 3 years ago
- Reactions:1
- Comments:10 (10 by maintainers)
Top Results From Across the Web
Dashboard using Scroll Bar | Interactive Charts - YouTube
In this video, we will learn how to create a dashboard using scroll bar. Scroll bars are useful when you have a lot...
Read more >Create a Scrollable Chart for your Excel Dashboards - YouTube
Create a scrollable chart to enhance the functionality of your Excel dashboards. Adding a scroll bar to the chart allows users to interact ......
Read more >How to Fix the Excel Scroll Lock Issue - YouTube
Find the quickest way to Stop this disgustingly horrible issue with Microsoft Windows and Microsoft ...
Read more >Scrolling a dashboard table keeps going | Excel Forum
I created a Dashboard about 12 months ago and the scrolling up and down of the tables worked correctly. Click between the current...
Read more >Is it possible to add a scrollbar to a large bar chart when ...
To add the scroll bar, select the worksheet on the dashboard that is squeezed together. Then, click on the drop down menu at...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
Yes I just reproduced the 1st issue as well. Couldn’t repro the 2nd one today either (so I think we should just close off this bug once the 1st issue is fixed). The layout of my dashboard is here in a screenshot. It has 3 rows, and the top row still has space for another chart. I am trying to move the bottom chart to the top and it won’t move.
I had to move to another issue due to some priority change. To sum up what I managed to discover:
General issue: the scroll area is hidden under the dashboard’s header (z-index and position=relative of the header disables scroll). The best thing here would be to somehow move detecting scroll to top level, but I am not sure if it’s possible. The other option is to use dnd component and detect that we are hovering header and then scroll top on hover.
Second issue: some charts and tables have scroll when the window is too narrow. When we drag an element, the preview of dragged element is as wide as table/chart inside this element. After my debugging nothing seemed helping:
width: 100%
oroverflow: hidden
for divs, svg, table. What I may suggest is to disable scroll while editing or pass width as HTML attribute directly to svg or table.