Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add horizontal scrolling for tables on mobile UI #1634

Open
jicedtea opened this issue Nov 18, 2023 · 2 comments
Open

Add horizontal scrolling for tables on mobile UI #1634

jicedtea opened this issue Nov 18, 2023 · 2 comments

Comments

@jicedtea
Copy link

Describe the bug

On the mobile interface, the table cannot scroll horizontally, causing the data of the columns to overlap, sometimes making it impossible to view the data.

To Reproduce

Steps to reproduce the behavior:

  1. Open the OMV page on mobile browser
  2. Go to a page that uses a table. Example: SMART, file system...
  3. See error

Expected behavior

The table can be scrolled horizontally to see data more clearly

Screenshots

Screenshot_20231118-091458_Vivaldi_Browser
Screenshot_20231118-091422_Vivaldi_Browser

openmediavault Server (please complete the following information):

  • OS version: Linux nsv 6.1.0-0.deb11.11-amd64 Prevent fatal error in autoloader #1 SMP PREEMPT_DYNAMIC Debian 6.1.38-4~bpo11+1 (2023-08-08) x86_64 GNU/Linux
  • openmediavault version: 6.9.8-1

Client (please complete the following information):

  • Device: Xiaomi 12X
  • OS: Android 13
  • Browser Chrome, Firefox, Vivaldi...
  • Version: latest

Additional context

Thank you so much for your work

@jicedtea jicedtea added the bug label Nov 18, 2023
@votdev
Copy link
Member

votdev commented Nov 18, 2023

That will become a little bit tricky or impossible because the used data table component/library does not support that as far as I remember, otherwise i would have implemented it already.

@votdev
Copy link
Member

votdev commented Nov 18, 2023

OK, did some research and it is possible that the used datatable component displays a horizontal scroller, but this does not work really well when using flex column mode. This is the default mode of all datatables in OMV. This was a design decision because it does not make sense to force a developer to think about how wide a column should be in N pixels. It is much easier to specify the proportional width of each column. IMO this is a limitation or bug in the Swimlane datatable library.

Peek 2023-11-18 20-30

I'll specify this issue as community contribution. if someone wants to do this without breaking the previous design decision and thus affecting all plugins, then go ahead.

References:

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants