Comments (4)
@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.
@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 - 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.
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)
- To styling with different states HOT 5
- Controlled input value HOT 7
- I can't customize control container as much as I like HOT 3
- Some bugs I spotted... HOT 1
- Order of multi-select tags not preserved. HOT 2
- Accessibility issue/question HOT 4
- How to set selected option from outside? HOT 2
- Mount the dropdown menu outside the parent div HOT 3
- Is sortable multi-select supported? HOT 2
- Separate render prop for control vs menu
- Support for VariableSizeList
- Feedback after first test
- Missing types
- Cannot add styles for Single Value HOT 1
- SSR error with nextjs HOT 1
- Not rendered options
- No tag / release for version 5.0.0 HOT 1
- initialValue prop not working? HOT 3
- Got an error: 'Cannot read properties of undefined (reading 'withConfig')' during the testing with RTL HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from react-functional-select.