parse-dashboard icon indicating copy to clipboard operation
parse-dashboard copied to clipboard

Vertical scrollbar is shown inside the horizontally scrollable area, which makes it usually out of sight

Open mathieulb opened this issue 3 years ago • 9 comments

New Issue Checklist

Issue Description

To see the vertical scrollbar, one has to scroll to the far right of the table, not on the screen, because many tables have many columns, and by going there, one no longer sees whatever horizontal position they were at, and in very wide tables, it may take a while to go back to the spot they were originally at, before looking at the scrollbar. Parse Dashboard is the only app I know that does this (among the ones kind enough to display a scrollbar).

Steps to reproduce

Open any table where columns take more than one screen wide, in any version of Parse Dashboard.

Actual Outcome

Vertical scrollbar only appears when horizontal scrollbar at maximum position (right end).

Expected Outcome

Vertical scrollbar always visible.

Environment

Dashboard

  • Parse Dashboard version: both 2.1.0 release and in 4.0.0 release.
  • Browser (Safari, Chrome, Firefox, Edge, etc.): Firefox
  • Browser version: 97 and several previous ones

Server

  • Parse Server version: 4.3.0
  • Operating system: Heroku 18
  • Local or remote host (AWS, Azure, Google Cloud, Heroku, Digital Ocean, etc): Heroku

Database

  • System (MongoDB or Postgres): Mongo
  • Database version: ?
  • Local or remote host (MongoDB Atlas, mLab, AWS, Azure, Google Cloud, etc): Heroku

mathieulb avatar Feb 19 '22 18:02 mathieulb

Thanks for opening this issue!

  • 🚀 You can help us to fix this issue faster by opening a pull request with a failing test. See our Contribution Guide for how to make a pull request, or read our New Contributor's Guide if this is your first time contributing.

... or to be consistent with the rest of scrollbar policy, [Expected Outcome] = Vertical scrollbar visible whenever the table's content is higher than its viewport. My only point is only that you should be using a scrollable area with two scrollbars, instead of a vertically scrollable area nested within a horizontally scrollable area.

mathieulb avatar Feb 19 '22 18:02 mathieulb

🎉 This change has been released in version 5.2.0-alpha.15

parseplatformorg avatar Jun 11 '23 16:06 parseplatformorg

Re-opened because #2457 has been reverted with https://github.com/parse-community/parse-dashboard/pull/2476 because it introduced bug https://github.com/parse-community/parse-dashboard/issues/2475.

mtrezza avatar Jun 24 '23 00:06 mtrezza

#2475

I attempted to reproduce the issue by adding 3x additional rows and columns, but I couldn't observe the change in the image you posted. It appears that the width has been somehow altered. Generally, the default width remains consistent regardless of the number of columns added. Could you please provide me with the specific values you modified or added to increase the width?

AshishBarvaliya avatar Jun 27 '23 02:06 AshishBarvaliya

I did not do any modification actually, I was able to reproduce this issue even in the preview. I'll try to reproduce and give you more details. Opened https://github.com/parse-community/parse-dashboard/pull/2486 to demo.

mtrezza avatar Jun 27 '23 13:06 mtrezza

🎉 This change has been released in version 5.3.0-beta.1

parseplatformorg avatar Sep 15 '23 18:09 parseplatformorg

🎉 This change has been released in version 5.3.0-alpha.1

parseplatformorg avatar Sep 20 '23 13:09 parseplatformorg

🎉 This change has been released in version 5.3.0

parseplatformorg avatar Nov 16 '23 15:11 parseplatformorg