`ViewportTrap` is a headless React component that helps ensure that its children are always visible within the viewport. This is particularly useful for UI elements like tooltips or dropdowns that might be hidden or cut-off due to their position near the
published version 0.2.0, 2 years ago- published version 0.2.5, 8 months ago
- published version 0.1.2, 2 years ago
- published version 1.1.1, 7 months ago