Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Chrome dev tools site gets stuck in mobile view when exiting emulation mode

When using chrome dev tools to emulate mobile devices, sometimes when toggling emulation from mobile back to desktop the user agent spoofing gets stuck in mobile. I've tried hard cache reset, closing browser completely, restore to default.... but anything I do the site still renders in mobile (even when emulation is turned off).

This happens in Canary, beta, and regular Chrome. Also a note i've only seen this happen in Sharepoint.

Anyone know how to resolve? Nothing seems to get the dev tools to change user agent back to default when exiting emulation.

like image 345
Brandon Harris Avatar asked Jan 09 '23 05:01

Brandon Harris


1 Answers

Have you tried deleting your chrome settings?

  • Windows: C:/Users/%username%/AppData/Local/Google/Chrome/User Data
  • Mac OSX: ~/Library/Application Support/Google/Chrome/
  • Ubuntu: ~/.config/chromium/

Also make sure you aren't ZOOMED! Gets ya everytime

like image 75
OttoV Avatar answered Feb 13 '23 08:02

OttoV