Giter Club home page Giter Club logo

Comments (5)

JamesAlias avatar JamesAlias commented on May 30, 2024 1

I had a look into the Bug as well and I think I'm close to the root cause.

The problem is,
when ShallowDropDownContents is re-evaluated
then in Chrome the elementBoundingBox.top changes from 0 to -0.25
then the isInScrollView function (see image) returns false
then the style of the ShallowDropDownContents is changed to { display: 'none' }

In Firefox the elementBoundingBox.top stays at 0, so the condition is still true.

I'm just not sure yet, what causes this shift of -0.25 in Chrome.

Edit1: The height changes by 0.5 from 40 to 40.5. 0.25 is the half of this 🤔 This is why the max-height fix of the PR fixes the issue. getting closer...

Screenshot 2023-07-06 at 3 31 48 PM

from neos-ui.

mhsdesign avatar mhsdesign commented on May 30, 2024

I could reproduce it. The bug only appears if 10 or more items are present in the list (because then new functionality is enabled like the search bar and so forth).

Mac os 13.4.1 + Chrome Version 114.0.5735.198 (Offizieller Build) (arm64)

Bildschirmaufnahme.2023-07-06.um.13.57.18.mov
Bildschirmaufnahme.2023-07-06.um.14.02.46.mov

On firefox it works a bit better but is also totally buggy lol.

Mac os 13.4.1 + Firefox 113.0.2 (64-Bit)

Bildschirmaufnahme.2023-07-06.um.14.03.59.mov

from neos-ui.

mhsdesign avatar mhsdesign commented on May 30, 2024

i just found a fix to make it useable again: #3565
this comes with the drawback that we dont display a search box for now anymore for more than 9 entries. I still think its a better than to have it totally broken for the next weeks.

from neos-ui.

mhsdesign avatar mhsdesign commented on May 30, 2024

Thank you so much @JamesAlias for investigating the real issue and not just fixing it hackily like me in #3565

i just talked to @grebaldi about this bug and he said the select box has been misused as dimension selector. Also we agreed that it might be a questionable feature to have the search box shown in the dimension selector - say you have other problems when having 10+ dimensions ^^

but id like to discuss the dimension selector and also hear your opinion. In case you find the fix and think its valid to have a search-box feel free to revert my change.

from neos-ui.

mhsdesign avatar mhsdesign commented on May 30, 2024

Reopening so we can fix this properly ;)

from neos-ui.

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.