MAIN FEEDS
Do you want to continue?
https://www.reddit.com/r/badcode/comments/t48k61/fe_developer_checks_for_mobile_for_responsivity/hz1ptld/
r/badcode • u/Donni3D4rko • Mar 01 '22
43 comments sorted by
View all comments
Show parent comment
1
Could be for a nav where sub items show on hover. Since hover doesn't make sense on a touch screen device
1 u/kristallnachte Mar 02 '22 That's still an input issue, not a device issue.Hover works on phones when I use a mouse. 1 u/jmona789 Mar 02 '22 Well sure it works when you use a mouse but your users aren't going to be using a mouse on their phone. 1 u/kristallnachte Mar 02 '22 Maybe.They may not use touch either.Blind people use interactions more akin to keyboard inputs than they do touch inputs on the site.But even in the "dumb" sense of this, viewport is a perfect fine and simply way to handle it. 1 u/RobDoingStuff Mar 03 '22 But wouldn't a simple media query for screen size accurately accommodate like 99% of devices, anyway? Phones and tablets usually have significantly smaller resolutions than PCs.
That's still an input issue, not a device issue.
Hover works on phones when I use a mouse.
1 u/jmona789 Mar 02 '22 Well sure it works when you use a mouse but your users aren't going to be using a mouse on their phone. 1 u/kristallnachte Mar 02 '22 Maybe.They may not use touch either.Blind people use interactions more akin to keyboard inputs than they do touch inputs on the site.But even in the "dumb" sense of this, viewport is a perfect fine and simply way to handle it.
Well sure it works when you use a mouse but your users aren't going to be using a mouse on their phone.
1 u/kristallnachte Mar 02 '22 Maybe.They may not use touch either.Blind people use interactions more akin to keyboard inputs than they do touch inputs on the site.But even in the "dumb" sense of this, viewport is a perfect fine and simply way to handle it.
Maybe.
They may not use touch either.
Blind people use interactions more akin to keyboard inputs than they do touch inputs on the site.
But even in the "dumb" sense of this, viewport is a perfect fine and simply way to handle it.
But wouldn't a simple media query for screen size accurately accommodate like 99% of devices, anyway? Phones and tablets usually have significantly smaller resolutions than PCs.
View all comments
Show parent comment
1
u/jmona789 Mar 02 '22
Could be for a nav where sub items show on hover. Since hover doesn't make sense on a touch screen device