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

Mobile view #665

Open
Dreamsorcerer opened this issue Mar 30, 2023 · 0 comments
Open

Mobile view #665

Dreamsorcerer opened this issue Mar 30, 2023 · 0 comments

Comments

@Dreamsorcerer
Copy link
Member

Dreamsorcerer commented Mar 30, 2023

We can use SimpleList (or better, SimpleListConfigurable) with useMediaQuery to provide a more mobile-friendly view:
https://marmelab.com/react-admin/ListTutorial.html#responsive-lists
https://marmelab.com/react-admin/SimpleList.html#using-simplelist-on-small-screens

Maybe use the first 3 display elements from the list view to use as the lines of text?

2 Possible approaches here:

Maybe best if we can support both options?


A followup task may be to add a sort button to the view as well:
https://marmelab.com/react-admin/SortButton.html

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

No branches or pull requests

1 participant