Skip to content

Conversation

@ritikpal1122
Copy link

feat(popover): improve responsive positioning behavior

  • Add collision detection and boundary constraints
  • Configure adaptive positioning for small screens
  • Implement fallback positions when space is limited
  • Add padding and sticky behavior for better UX

Whart I've fixed in this PR

Changes

  • Added collision detection using avoidCollisions prop
  • Set document.body as collision boundary
  • Configured adaptive positioning with fallback positions
  • Added 10px collision padding for better spacing
  • Implemented sticky behavior for smooth transitions

Testing

  • Tested on small screens
  • Verified tooltip repositioning when space is limited
  • Confirmed proper behavior on all viewport sizes

@ritikpal1122
Copy link
Author

hi @chaance can you please check this out

@ritikpal1122 ritikpal1122 closed this by deleting the head repository Apr 30, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant