title: Chrome Extension Input Lags
body: <p>The Chrome Extension I am creating has a form on the popup. When Typing into a text area or input, there is a really bad lag (2-3 seconds per keystroke). </p>
  
  <p>The really odd thing is that it only has a really bad lag if the following is true: </p>
  
  <ol>
  <li><p>Chrome is running on a separate display (I use for example an Apple LED Cinema Display (27-inch)). Oddly everything works perfectly fine on just my regular laptop and everyone in my offices laptop.</p></li>
  <li><p>The input is on the top half of the popup (like the top half of the screen)</p></li>
  <li><p>It is running on MacOs</p></li>
  </ol>
  
  <p>The lag is caused by the background.js script, removing the background portion of manifest.json removes the delay. Does anyone know why this might be happening, and how I could remove the lag without removing my background.js file?</p>
  
  <pre><code>//index.js
  
  /*global chrome*/
  import React, {Fragment, Component} from 'react';
  import ReactDOM from 'react-dom'; 
  
  class App extends Component {
  
      render(){
  
        return (
          &lt;div className="App"&gt;
          &lt;input style={{marginTop: '400px'}} placeholder="I have a horrible lag"&gt;&lt;/input&gt;
        &lt;/div&gt;
        )
      }
  
  }
  
  ReactDOM.render(&lt;App /&gt;, document.getElementById('root'));
  
  
  // manifest.json
  {
    "manifest_version": 2,
    "name": "extension",
    "author": "me",
    "version": "1.0.1",
    "description": "description",
    "browser_action": {
      "default_popup": "index.html"
    },
    "background": {
      "scripts": ["background.js"],
      "persistent": false
     },
     "permissions": ["tabs"],
  
     "web_accessible_resources" : ["*.html"]
  }
  
  
  // background.js
  console.log("background.js is running")
  </code></pre>
  
  <p>I get no error messages. If I replace '400px' to '100px' I get no lag</p>
  
  <p>Thank you in advance</p>
  
  <p>Update:
  This bug was created at <a href="https://bugs.chromium.org/p/chromium/issues/detail?id=971701" rel="noreferrer">https://bugs.chromium.org/p/chromium/issues/detail?id=971701</a></p>