internet-explorer-11

Material-UI drop-down menu causing error in IE11 after updating to angular 8

冷暖自知 提交于 2019-12-11 02:32:08
问题 Angular 8 application with material 8 throws following error on IE11 when the material menu is opened: Unable to get property 'opacity' of undefined or null reference It worked well with angular 7.2. Used IE11 Version: 11.1146.16299.0 Update version: 11.0.125 New project dependency versions: "dependencies": { "@angular/animations": "^8.0.0", "@angular/cdk": "^8.0.0", "@angular/common": "~8.0.0", "@angular/compiler": "~8.0.0", "@angular/core": "~8.0.0", "@angular/forms": "~8.0.0", "@angular

input scrollLeft never changes in IE11

杀马特。学长 韩版系。学妹 提交于 2019-12-11 02:20:11
问题 I'm not sure if I'm going crazy or if this is a bug in IE11. Open this demo in IE11: http://jsfiddle.net/zdfubscf/1/ var $span = $('span'); $('input').on('keyup', function () { $span.html( this.scrollLeft + ', ' + this.scrollWidth + ', ' + this.selectionEnd ); }); Start typing in the input. When the text overflows, you'll notice that the scrollLeft and scrollWidth values never change. The <!DOCTYPE html> is set properly. Is there something I'm missing to get the proper scroll values? 回答1: I

can't get new lines of selected text on IE11

倖福魔咒の 提交于 2019-12-11 00:45:18
问题 I am trying to replace some text inside a div using a modal window with a form input but for some reason I can't get it to work on IE11. I've realized that it skips new lines when selecting a piece of text containing a <br> Here is a working example: http://jsfiddle.net/8VdE9/3/ The funny thing is that I am using the same code in a different page and it gets the new lines fine, which makes me think that I am missing something. var isIE11 = !!navigator.userAgent.match(/Trident.*rv\:11\./);

selenium WebDriver- hungs or stucks while switching from child window to parent window (IE11 and Win 8.1)

一曲冷凌霜 提交于 2019-12-11 00:18:42
问题 Selenium WebDriver- hungs or stucks while switching back from child window to parent window. If I change the specific page in parent window Manually on debug mode,Successfully switch is happening from child to parent window. Guessing that specific page in parent window blocks switching of windows as it expects child window to be closed.How can i overcome this Issue?(To bring back control to parent window for further validation)(Also Suggest if any alternative methods are available to switch

on('load') does not work for opened popup in internet explorer 11

喜夏-厌秋 提交于 2019-12-11 00:18:21
问题 I do not recall the last time I used popup for anything, but :( I want to open new window and when it is opened I want to shout "1". Window opens in all browsers, but in IE 11 / Edge it does not alert(). <html> <head> <script src="//code.jquery.com/jquery-3.1.1.min.js"></script> <script> $(document).ready(function(){ $('#button').on('click',function(e){ e.preventDefault(); var win = window.open ('/test.html') $(win).on('load',function(){ alert ('opened'); }); }); }); </script> </head> <body>

Text overlapping in flexbox layout on IE11 and Safari

笑着哭i 提交于 2019-12-11 00:01:49
问题 Have text & height problem in flex-layouts with IE11. Here is the idea: I have 3 rows of content. If I have large content I have a scroll bar which looks like this: Chrome - scroll bar BUT, not working with IE11 and Safari, looks like this: IE - text escapes Here is the code: .header-container { min-height: 100%; } .header-container .wrapper { position: absolute; display: block; height: 100%; width: 100%; } .header-container .wrapper nav { height: 100%; width: 100%; } .header-container

Using AngularJS and IE11, image not updating upon updating the ng-src attribute of the image tag

耗尽温柔 提交于 2019-12-10 22:43:22
问题 I am using angularJS to change profilepics of users in my application. When a user uploads a new profile pic, I set the ng-src of the user's image tag to the updated URL that I receive from the backend. This works fine in chrome, firefox, but when it comes to IE11, the src gets updated using angular but the image does not show. IE shows it as a broken image link. I am not sure what I am missing here. Could someone help me out here? EDIT: I have to right click on the small black 'X' and then

IE11 bug - calling javascript getAttributeNode method brakes mergeAttributes

|▌冷眼眸甩不掉的悲伤 提交于 2019-12-10 22:31:49
问题 There is some really strange behavior in javasrcipt after recent update of IE (11.0.27) in IE=7 mode, in previous versions script below works as expected (including IE8-IE11.0.24) . So it's caused by calling Element.getAttributeNode(' class ') , after this call is made on element that element will throw error (Unspecified Error) if you'll try to merge it`s attributes with another element with Element.mergeAttributes method. Demo (happens only when devtools/console is turned off and in IE-7

jQuery scrollTop() not working in IE11

淺唱寂寞╮ 提交于 2019-12-10 20:56:23
问题 I have some code that simply activates by clicking a button. When clicked, you are scrolled to that ID, that section of the site/page. It works everywhere except in IE11(the only version of IE I have). What is wrong? jQuery(document).ready(function(){ jQuery('#seemore').click(function(){ jQuery('body').animate({ scrollTop: jQuery('#pgc-2040-0-1').offset().top + 40 }, 800); }); jQuery('#order, .order').click(function(){ jQuery('body').animate({ scrollTop: jQuery('#panel-2040-3-0-0').offset()

How do I specify IE 11 specific css file?

旧巷老猫 提交于 2019-12-10 20:42:14
问题 I currently have a page for which I am applying some browser specific CSS styling when user clicks print button using the following html syntax. But the following html code wont apply the css specified for IE11(ie11print.css) instead it applies the css that is specified for rest of the IE versions(ieprint.css). <!--[if IE 11]> <link rel="stylesheet" media="print" title="Print" type="text/css" href="/styles/ie11print.css" /><![endif]--> <!--[if lte IE 10]> <link rel="stylesheet" media="print"