GithubHelp home page GithubHelp logo

Comments (4)

based-ghost avatar based-ghost commented on June 18, 2024 1

@yeungc - I released changes to address this issue under latest release of v2.2.0. There is a new property menuPosition which takes the value of 'top' | 'auto' | 'bottom' and defaults to 'bottom' to make sure existing functionality is maintained when upgrading. In your case, you could probably just pass 'top', since you know you want the menu to open above the control and using 'auto' would make the component do a little extra work to calculate if it should place the menu above the control or not.

Let me know if this solves this issue or not - thanks!

from react-functional-select.

based-ghost avatar based-ghost commented on June 18, 2024

@yeungc - agreed, I'll look into adding this. Now are you envisioning this as an "auto-detect" feature or more of an enum property where "menuPosition" could be expressed as "below" (default) or in this case, "above"?

from react-functional-select.

yeungc avatar yeungc commented on June 18, 2024

@yeungc - agreed, I'll look into adding this. Now are you envisioning this as an "auto-detect" feature or more of an enum property where "menuPosition" could be expressed as "below" (default) or in this case, "above"?

Thank you, it's better to have the auto detect feature first, after that the menuPosition prop should be easy to implement :)

from react-functional-select.

yeungc avatar yeungc commented on June 18, 2024

Yes it should cover most situation, thank you for the good work, I'm going to close the issue now!

from react-functional-select.

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.