react-admin icon indicating copy to clipboard operation
react-admin copied to clipboard

Fix right sidebar scrolling on documentation pages

Open bobah2000 opened this issue 3 years ago • 2 comments

What you were expecting: Vertical scrolling in right sidebar when there are many list items and the height of the viewport is not enough to place all of them.

What happened instead: There are no scrolling and it is not possible to click on last list items

Steps to reproduce:

  1. Visit react admin documentation page https://marmelab.com/react-admin/Tutorial.html
  2. Decrease the height of browser or open this page on display with low resolution

Environment

  • React-admin version: 4.0.1
  • Browser: Google Chrome

ra1 ra2 ra3

bobah2000 avatar Apr 25 '22 09:04 bobah2000

Thanks for reporting this!

djhi avatar Apr 25 '22 10:04 djhi

I've reduced the font size for the table of contents. In my experience, it renders correctly even on small screens (tested with a height of 750px).

Perhaps we should simply hide the ToC for screens with smaller height.

Making it low priority though.

fzaninotto avatar May 01 '22 13:05 fzaninotto