internet-explorer-11

Polymer 2.0 app crashes Internet Explorer 11

我的未来我决定 提交于 2019-12-11 07:59:22
问题 I have a polymer 2.0 app that is transpiled to ES5. It works well in Edge, Firefox, and Chrome; however, when I open it in Internet Explorer 11 on Windows 7, 8.1, or 10, the program crashes. Sometimes it will render without most of the styles, other times it will crash before the page is even rendered. Once, it said that a script was running long and asked if I wanted to stop the script. Doing this also crashed IE. Since the developer tools won't open, I'm not able to debug this. What

Ie11 doesn't apply media queries style

会有一股神秘感。 提交于 2019-12-11 07:21:31
问题 IE11 ignore my media queries and always using the mobile css. the weird thing is that if i'll change the browser width, even for just 1-2 pixel, the browser will render itself and the media queries are shown. i tried css lint and i have no errors in my css. i have nothing special in my css. just plain css like this: .div_example{ width: 100px; } @media (min-width: 768px){ .div_example{ width: 300px; } } Has anyone encountered this problem? 回答1: Had this exact thing occur. Just like you, if

Access deep object member of embeded JSON

孤者浪人 提交于 2019-12-11 07:19:28
问题 The following function does an amazing job of retrieving a deep object key value with a dot notated string: function getPathValue(obj, path) { return new Function('_', 'return _.' + path)(obj); } For example, it returns the value for a key like "bar" using the following as the path argument: 'data.abc.foo.bar' However, some API's pack additional stringified JSON into some key values. I'm looking for an enhancement to the above function that will handle that case. For example, Stack's own

AngularJS error [$injector:unpr] Unknown provider: in IE11

 ̄綄美尐妖づ 提交于 2019-12-11 07:07:12
问题 I couldn't find help in google neither here. I'm new to Angular and I'm facing this error only in IE11 and below. The error I'm getting is this: console error shown in IE My IE is in portuguese so the translate of the first error is: it's not possible to get property of "getAttribute" of undefined or null this is my app.config.js file // Checking if an optional module is registered. // If it's not, register an empty one to prevent errors. (function(optDeps){ optDeps.forEach(function(dep){ try

Text cursor from input field remains visible when behind dropdown menu in IE

泪湿孤枕 提交于 2019-12-11 06:16:36
问题 In Internet Explorer 11, the blinking text cursor inside an input field containing some typed-in text remains visible when a dropdown menu toggles open over the input field. I expect the cursor to be obscured when it's behind the menu like in Chrome/Firefox/Safari. I found this issue when I entered random text in the input field and then (without clicking out of the input field) hovered over the dropdown button to prompt the dropdown menu to toggle open over the input field. I've tried

css display grid and IE11

心不动则不痛 提交于 2019-12-11 06:10:53
问题 I realise too late that my grid is not working properly with IE11. how can i make that grid-column-start and grid-column-end working with IE11? https://codepen.io/matoeil/pen/OzNmXW > <div class="field-items"><div class="entity entity-paragraphs-item > paragraphs-item-bloc-de-type-titre column_start_1 column_end_7"><div > class="" about="" typeof=""> <div class="content"> > <div class="field field-name-field-p-titre-titre field-type-text-long field-label-hidden"><div class="field-items"><div

Yii2 jQuery not working in IE11

南楼画角 提交于 2019-12-11 04:56:10
问题 The Problem I'm trying to create a page that updates a specific records field in a table when a checkbox is clicked (ideally without refreshing the page). I thought jQuery/AJAX would work for me. Apparently not. I've been struggling with this for a while, so I decided to scale it back and really simplify it to figure out what's not working. The updating of the table is fine (from Chrome), the not-refreshing isn't. And none of it works from IE11. It's currently hosted on my local machine, so

Polymer serve changes the served javascript files for Internet Explorer 11. How to make it work on another web server?

て烟熏妆下的殇ゞ 提交于 2019-12-11 04:34:20
问题 When testing our polymer 2.01 / webcomponents 1.01 Application on Internet Explorer 11 we found out that it works fine using poyfills when serving the Application with polymer serve. It doesn't work when we are serving our application with a naked tomcat 8.x. We get Script Errors like "SCRIPT1003: Expected" with Internet Explorer. The reason for this seems to that polymer serve changes the javascript files when the Client Browser is Internet Explorer 11. For example in webcomponents-lite.js

ActiveXObject in IE11

南楼画角 提交于 2019-12-11 03:45:31
问题 I am having a hard time figuring out this problem. I have two different pages where I do the following query. Page 1 -> if (typeof(window.ActiveXObject) != "undefined") //returns true Page 2 -> if (typeof(window.ActiveXObject) != "undefined") //returns false Pages are running on same browser IE11 and same IIS server. Any suggestions? 来源: https://stackoverflow.com/questions/25311570/activexobject-in-ie11

using shadow dom in Internet Explorer

天涯浪子 提交于 2019-12-11 03:26:32
问题 The below code works in chrome but not in Internet Explorer. Is there any way to use it in Internet Explorer? <html> <head></head> <body> <div> <h4>My Content Heading</h4> <p>My content text</p> </div> <script> var myContent = document.querySelector('div'); var shadowroot = myContent.createShadowRoot(); shadowroot.innerHTML = '<h2>Inserted Heading</h2> <content select="p"></content>'; </script> </body> </html> 回答1: Internet explorer (and new Edge browser) doesn't support shadow DOM natively.