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

Better way to detect mobile #281

Open
kommander opened this issue Oct 29, 2020 · 2 comments
Open

Better way to detect mobile #281

kommander opened this issue Oct 29, 2020 · 2 comments
Labels
enhancement New feature or request prio-2 Features or Bugs that should be handled soon.

Comments

@kommander
Copy link
Collaborator

better than const isMobile = useMediaQuery("(max-width:600px)");

@kommander kommander added enhancement New feature or request triage Lets talk about this before doing it! labels Oct 29, 2020
@DanielHabenicht
Copy link
Collaborator

also centralize the breakpoints :)

@kimamov
Copy link
Collaborator

kimamov commented Nov 1, 2020

if you mean the hook inside AppBar it should not be needed... it was fixing a weird bug with the svg icon that might not be there anymore I try it out later.

@kommander kommander added prio-2 Features or Bugs that should be handled soon. and removed triage Lets talk about this before doing it! labels Nov 1, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request prio-2 Features or Bugs that should be handled soon.
Projects
None yet
Development

No branches or pull requests

3 participants