Giter Club home page Giter Club logo

Comments (7)

chadlwilson avatar chadlwilson commented on June 7, 2024 1

Well I can certainly replicate, but no idea what is causing this. Based on random googling, it does seem there are a lot of Chrome things broken for various folks on Sonoma.

There is nothing fancy about this dropdown - it's a basic HTML <select> with <option>s. Only slightly different weirder thing is that it's on an overlay. I suspect we just need to wait for a MacOS or Chrome fix here.

from gocd.

chadlwilson avatar chadlwilson commented on June 7, 2024 1

The problem is related to the - default option which is specific to this pipeline material selector. Other dropdowns don't seem to have that "force the user to actually select something valid" behaviour.

When there is no existing selection from the dropdown (as for a new material, not for an existing one), something is going awry with the default selection when you open it which is causing the native selector pop-up to close.

After some digging, I think this is caused by https://bugs.chromium.org/p/chromium/issues/detail?id=1497774 - I am guessing when there is no existing selection the selection gets updated when you open the menu, or something, triggering this bug. Fixed for 121 based on chromium/chromium@9aa331b and also verified it's fixed for in Chrome Dev (121) locally.

Anyway, the workaround is pretty low risk, so will implement that all the same.

from gocd.

chadlwilson avatar chadlwilson commented on June 7, 2024

Presumably it was working OK with Chrome 118 or some earlier version?

from gocd.

chris-gillatt avatar chris-gillatt commented on June 7, 2024

On further investigation, I think that this could actually be related to the recent rollout of MacOS Sonoma 14.1.1 in my business, rather than Chrome or GoCD.

I've run a bunch of tests, and I see the issue with Chrome all the way back to Chrome v105, and GoCD versions back to 23.1.0-16079. I can also confirm that one of our users who does not see the issue, is on Chrome v117.0.5938.149 on MacOS Ventura 13.2.1. Unfortunately I don't have a test Mac to roll back the OS on to investigate further on that point, and my Mac is on Sonoma.

from gocd.

chadlwilson avatar chadlwilson commented on June 7, 2024

Ok, no worries - at least I should be able to replicate as long as it's not dependent on any particular Chrome extensions, and that's also a bit more narrower and thus easier to trace.

from gocd.

chris-gillatt avatar chris-gillatt commented on June 7, 2024

Great - thanks for looking. I think you're probably right - something for Apple to fix. What's puzzling about this is that I've not been able to find another dropdown in GoCD that suffers from the same (mis)behaviour.

from gocd.

chadlwilson avatar chadlwilson commented on June 7, 2024

Hmm, true. Even some of the pop-up overlays don't have the same behaviour with a dropdown (e.g editing a config repository's permission rules, or editing an existing pipeline material's stage). I'm not really sure what is different here that might explain this or suggest a workaround.

Have you seen it on any other dropdowns by chance?

from gocd.

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.