Giter Site home page Giter Site logo

Comments (5)

Aris-t2 avatar Aris-t2 commented on May 30, 2024

I reused the code from CTR for this without changing anything in that matter.

I see no delay when using your steps to reproduce the mention issue.
Tested Fx57-59.

from customcssforfx.

pintassilgo avatar pintassilgo commented on May 30, 2024

Just disabled (commented)
-moz-binding: url("./xml/urlbarBindings_fx57.xml#urlbar-rich-result-popup") !important;

And "solved". The other block related to that xml file may remain uncommented, it is not part of the problem.

The problem with commenting this line is that the suggestions list panel is enlarged to full width, but should inherit the width of the urlbar.

Tested after disabling all extensions. No problem using the same profile on Fx 56.0.2 with CTR instead of userChrome.css.

from customcssforfx.

Aris-t2 avatar Aris-t2 commented on May 30, 2024

I can look into 'urlbar-rich-result-popup' xml code of current Firefox, but can not promise anything yet.

from customcssforfx.

pintassilgo avatar pintassilgo commented on May 30, 2024

Seems that you can fix this bug with this._invalidate(); inside _openAutocompletePopup body. It is present in the _openAutocompletePopup of current Firefox.

Does your urlbarBindings_fx57.xml#urlbar-rich-result-popup do anything other than set popup width? I'm thinking of get rid of it and use a userChromeJS script:

document.getElementById('PopupAutoCompleteRichResult').__proto__._openAutocompletePopup = function _openAutocompletePopup(aInput, aElement) {
          if (this.mPopupOpen)
            return;

          this.setAttribute("width", Math.round(document.getElementById("urlbar").getBoundingClientRect().width));

          this._invalidate();

          this.openPopup(aElement, "after_start", 0, -1, false, false);
}

from customcssforfx.

Aris-t2 avatar Aris-t2 commented on May 30, 2024

Thanks for the info.

I assumed this part was related to creating "default" popup and popup width and was unrelated to this features "classic" needs. There are no errors without it and I see no difference when using it, but since it helps your case, I will include this in next update.

from customcssforfx.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.