Forum Discussion

Linaori's avatar
Linaori
New Contributor
3 months ago

1password input focus lag with lots of inputs

I'm running into an issue where 1password seems to significantly slow down interaction with the webpage I'm working on. There's a ton of input fields of which most are hidden, I cannot lower the amount of inputs, in fact I have to increase the amount of inputs due to how the system works.

Every time I click on an input, the focus is delayed by ~200ms or so. The next time I select the same input field it's instant. 1password seems to do something that slows down the focus event.

I made a performance recording in firefox. I selected 3 inputs and after the 3rd on selected the same 3 in the same order with no slowdown. I've tried adding data-1p-ignore and autocomplete="off" but it didn't solve anything.

 

7 Replies

  • dsine's avatar
    dsine
    New Member

    We have the same problem, even without many input fields.

    Seems like the browser plugin searches for elements near text input fields as soon as they are being focussed (manually by clicking into the text input field or programmatically through JavaScript, or by the `autofocus` HTML attribute in `popover` elements) if the element was not shown before/on page load (like in popover elements or any hidden content).

    Windows & Mac, Firefox & Chrome... doesn't matter, the plugin seems to do really heavy things as soon as a input is focussed - a browser plugin should really not cause such issues with standard code.

    At least there should be a HTML attribute to completely disable the plugin code.

    Here is a JSFiddle that shows the issue:

    https://jsfiddle.net/dsine/dj4afgws/

    Without the plugin, the button click takes 50 ms, and with 1200 ms.

  • Hi Linaori​ ,

    Thanks for writing in, could you share a bit more information about which platforms and versions of the App, Browser Plugin you are using?  also has anyone on your team experienced it testing?

    Thanks!
    Phil

    • ShadeDream's avatar
      ShadeDream
      New Contributor

      This issue still persists for me. I've tried everything I've been able to come up with (using data-1p-ignore, disabling autocomplete on the form and inputs etc) and it's still a problem in the application we're developing.

      Firefox 147.0
      MacOS 26.3 (Apple Silicon)
      1password extension 8.12.2.38

      Roughly 900 inputs on the page (up to 128 individual components with 6-8 inputs each). I could disable the feature in 1password or disable it for this URL... but this application will be rolling out to our users on 1password enterprise accounts using the standard configuration, so that's not feasible for them.

      • 1P_Phil's avatar
        1P_Phil
        Icon for Moderator rankModerator

        Hi ShadeDream​ ,

        When you log into your dashboard, there should be contact information for enterprise support. Please reach out to that team and they can help optimize your implementation.

        Thanks!
        Phil

    • Linaori's avatar
      Linaori
      New Contributor
      • Firefox 145.0.1 (64-bit)
      • Fedora 43, KDE Plasma 6.5.3
      • 1password browser extension version: 8.11.16.35

      Nobody else on my team has this issue (yet) because I'm still developing the page. For now I've disabled 1password on my local env, but that's obviously not a permanent solution.

      Here's a list of the input amounts:

      document.querySelectorAll(`input[type="text"]`).length;
      2989
      document.querySelectorAll(`input[type="checkbox"]`).length;
      609
      document.querySelectorAll(`textarea`).length;
      1
      document.querySelectorAll(`select`).length;
      427
      document.querySelectorAll(`option`).length;
      5708 

       

      • Benjiman's avatar
        Benjiman
        New Contributor

        I am experiencing a very similar issue and am also interested in the solution