Badget icon indicating copy to clipboard operation
Badget copied to clipboard

Bug: Vertical scrolling is not enabled in /dashboard layout

Open AlexisLIEU opened this issue 1 year ago • 4 comments

Describe the bug

There is an issue with the vertical scrolling -which is not enabled - in the /dashboard page. It makes the footer currently not visible.

image

Steps to reproduce

  1. Go to 'dashboard/transactions' & 'dashboard/accounts'
  2. Now try to scroll vertically .
  3. Nothing happens and the footer does not show up. Also, the main content is truncated at the bottom.

Browsers

Chrome, Firefox

Additional context (Is this in dev or production?)

No response

AlexisLIEU avatar Jan 25 '24 14:01 AlexisLIEU

The proposed solution I have in mind is to wrap with a <ScrollArea> everything that is currently within the <body> in the RootLayout component, so every children pages would share the same scrolling behavior.

image

What are your thoughts on this ? @meglerhagen

AlexisLIEU avatar Jan 25 '24 15:01 AlexisLIEU

Hmm, the question is if we would like to have this wrapping everything. Have you tested this also within the application after this is added?

Codehagen avatar Jan 26 '24 08:01 Codehagen

Yes, it is what I wanted to check with you. Below is the result after I added the <ScrollArea>. ezgif-7-0ba891390e

AlexisLIEU avatar Jan 26 '24 15:01 AlexisLIEU

Yes, i think #95 made this work. You can check it if you want. ✨

Codehagen avatar Jan 30 '24 05:01 Codehagen