Provide prop `autoAdjustOverflow` to turn off automatic adjust popup placement when popup is off screen
See original GitHub issue- I have searched the issues of this repository and believe that this is not a duplicate.
What problem does this feature solve?
Currently, the dropdown automatically adjusts the placement of the popup when it is off-screen. Providing autoAdjustOverflow
[boolean] will allow the parent to control the behavior.
What does the proposed API look like?
<Dropdown autoAdjustOverflow={false} >
<a>Trigger</a>
</Dropdown>
Issue Analytics
- State:
- Created 5 years ago
- Comments:11 (4 by maintainers)
Top Results From Across the Web
Is there any way to stop a WPF Popup from repositioning itself ...
It will position the popup exactly as specified even if that means the popup is partially off-screen. It can automatically select the most ......
Read more >Popup Placement Behavior - WPF .NET Framework
Learn how to specify the position of a Windows Presentation Foundation Popup relative to a control, the mouse, or the screen by using ......
Read more >Tooltip - Ant Design - A UI Design Language
Property Description Type Default
overlayClassName Class name of the tooltip card string ‑
overlayStyle Style of the tooltip card object ‑
trigger Tooltip trigger mode hover...
Read more >Tooltip - Ant Design
A simple text popup tip. ... Tooltip will show on mouse enter. ... Whether to adjust popup placement automatically when popup is off...
Read more >ReactJS UI Ant Design Tooltip Component - GeeksforGeeks
autoAdjustOverflow : It is used to indicate whether to automatically adjust popup placement when the popup is off-screen. color: It is used ...
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
I do really needed this, so I studied the code to see if there was an easy fix. Thanks god, the
props
of Dropdown are past torc-dropdown
that are past torc-trigger
. Hence this can be fixed with:The issue can be marked as fixed and closed.
If I give it like this would it change the placement on scroll? How can I change the placement on scroll.