Idea: auto placement
See original GitHub issueI think it would be useful to re-align the popover if the proposed alignment doesn’t fit within the screen.
I envision something like this:
The first situation would actually render the second one. However, if you pass something like strictPlacement
, then it doesn’t do that.
Let me know what you think. Really excited about this project. Popovers are an important addition to RN, as I mentioned here. I’m glad to see it’s being solved.
Issue Analytics
- State:
- Created 3 years ago
- Reactions:1
- Comments:5 (4 by maintainers)
Top Results From Across the Web
Auto import | IntelliJ IDEA Documentation - JetBrains
Place the caret at the import statement and press Alt+Enter or use the the Intention action button icon. · Select Optimize imports.
Read more >Tether placement mode settings options / Auto Placement
I know you changed the placement mode for tethers for console players to make it easier for them. For us PC-Player Keyboard/Mouse Jockeys ......
Read more >RunAutoPlacer | Altium Designer 17.0 User Manual
Summary. This command is used to set up, and run, one of the PCB Editor's two auto-placement tools. Access. This command is accessed...
Read more >Automatic Placement Report: How to Report on ... - WordStream
Learn how to use the automatic placement report in the dimensions tab in AdWords to analyze and improve your Google PPC campaigns.
Read more >Understanding the CSS Grid “Auto-Placement Algorithm”
This is an important concept to grasp. Say “Hello” to grid-auto-flow. If you look at the previous demo you'll see that .item-18 ...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
Thoughts on default behavior? I imagine it shouldn’t be strict by default, but depends on how much “magic” you think it should have. If strict is default true, I’ll just wrap this in my app and make it false.
Thank you @yusufff for sharing. Popper seemed really hardcore on keeping the popover on screen…
For now, Popable will just invert the position if there’s not enough room at the given position. I think it’s great since this library should remain minimal.
Again, thanks for raising the issue, it’s better this way!