Comments (7)
@filod Are you asking for a way to bias/prefer a side when multiple are available? If so then we are already tracking that feature in #1.
However and/or are you asking for the ability to set a side and disable automatic positioning (meaning that the popover may overflow its container)?
I am going to be working on this library next week. I will try to resolve the 3-4 most pressing issues then.
from react-popover.
thx for reply, this is just what i need
from react-popover.
also hope i can get 'disable automatic positioning' functionality
from react-popover.
@filod https://github.com/littlebits/react-popover#code-props-preferplace-string-null-code
Ok, given that this feature request is about disabling automatic resolution we should reopen this issue under this new understanding.
from react-popover.
For now you can at least play with the new preferPlace
feature at http://littlebits.github.io/react-popover/build
from react-popover.
@filod Ok now the semantics you are looking for are implemented too. Check out https://github.com/littlebits/react-popover#propsplace--string--null and you can play with this new feature in the live demo http://littlebits.github.io/react-popover/build/
Cheers.
from react-popover.
LGTM 👍
from react-popover.
Related Issues (20)
- Missing key attribute warning since 0.5.7 upgrade HOT 1
- Popover disappears when moving mouse from trigger element to popover body HOT 1
- This is The worst documentation that I ever seen.... HOT 2
- Popover body is not centered over target HOT 5
- Update react-popover on npm HOT 3
- Add className to target's wrapper easy customization
- Missing License HOT 1
- react 16.6: Cannot read property 'nodeName' of null HOT 1
- Popover doesn't change position according to content in IE11
- Babel config in package.json problem
- Change animation
- Feature request: Add position offset HOT 1
- Feature request: Built in debounce
- Warning: componentWillReceiveProps has been renamed
- CSS-Vendor library is breaking jest tests
- calcSize throws error: Cannot read property 'offsetWidth' of null
- Somehow losing focus in the Popover Body when typing into text input
- appendTarget prop with relative parent calculates wrong position HOT 1
- Abandoned? Release? Or any good alternatives?
- Do we have any provision in this component to align the popover at bottom right
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-popover.