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

Fix scrollbar not appear on scrollable tabs

Open AnkitaGupta111 opened this issue 4 years ago • 4 comments

Closes #1689

AnkitaGupta111 avatar Dec 23 '20 09:12 AnkitaGupta111

I don't see what your PR changes or fixes. Can you elaborate?

fzaninotto avatar Jan 03 '21 15:01 fzaninotto

Also, you're setting a div width to 0 while it should obviously not have zero width. Can you explain why you're doing that?

fzaninotto avatar Jan 03 '21 16:01 fzaninotto

https://github.com/marmelab/react-admin/issues/1689#issuecomment-464111309 i just tried using this solution and now tabs are scrollable

AnkitaGupta111 avatar Jan 04 '21 06:01 AnkitaGupta111

Blindly adding code without understanding how it works won't make a good fix. Please elaborate on the reason why we need this counter-intuitive null width.

fzaninotto avatar Jan 04 '21 12:01 fzaninotto