Tablet site loads on Windows 10 Desktop
Running GE 4.8/GVH 2.9
One of our users is experiencing an issue where the tablet site will load on her windows 10 desktop. The screen resolution is well past the breakpoint for the desktop site to load, but it won't load unless we use Edge. The issue is occuring in Chrome and IE 11. I've tested with other windows 10 users and found the issue consistently in IE 11, but not consistently in Chrome.
Has anybody run into this? Any ideas what it could be?
0
-
I've seen it happen before, but only on small screens. 0 -
We had the same issues, where staff are using a Surface Tablet as a desktop PC. To force a surface to behave like a desktop I modified the C:\inetpub\wwwroot\Html5Viewer\Resources\Compiled\loader.js as follows:
FROM
ViewerLoader.determineAppropriateShell = function (userAgent) {
if (userAgent === void 0) { userAgent = navigator.userAgent; }
var shell;
var ua = function (search) { return new RegExp(search, "i").test(userAgent); };
if ((ua("Android") && ua("mobile")) || (ua("Windows") && ua("Phone")) || ua("iPhone") || ua("iPod") || ua("BlackBerry") || ua("BB10")) {
shell = "Handheld";
}
else if (ua("Android") || ua("iPad") || ua("Playbook") || ua("Touch")) {
shell = "Tablet";
}
else {
shell = "Desktop";
}
return shell;
};
TO
ViewerLoader.determineAppropriateShell = function (userAgent) {
if (userAgent === void 0) { userAgent = navigator.userAgent; }
var shell;
var ua = function (search) { return new RegExp(search, "i").test(userAgent); };
if ((ua("Android") && ua("mobile")) || (ua("Windows") && ua("Phone")) || ua("iPhone") || ua("iPod") || ua("BlackBerry") || ua("BB10")) {
shell = "Handheld";
}
else if (ua("Android") || ua("iPad") || ua("Playbook")) {
shell = "Tablet";
}
else {
shell = "Desktop";
}
return shell;
};0 -
We've had the same thing reported on a couple of our MS Surfaces also,when they have flipped from table to desktop mode. It's an interesting one. Thanks for the tweak Chris, I'll be getting that change in now! 0
Du måste logga in om du vill lämna en kommentar.
Kommentarer
3 kommentarer