Skip to content

Conversation

@shadabiiitnr20
Copy link

@shadabiiitnr20 shadabiiitnr20 commented Jan 29, 2026

Summary

  1. tooltip.tsx - Added side and align props, passed to base-ui Positioner
  2. tooltip.stories.tsx - Added OnDifferentSides and WithDifferentAlignments stories, made the stories centered layout.
  3. Exported TooltipSide and TooltipAlign types for consumers

Test Plan

Check local storybook recording.

Screen.Recording.2026-01-29.at.4.59.09.PM.mov

Note

Low Risk
Low risk: UI-only change that forwards additional positioning props and updates Storybook examples, with minimal behavioral impact beyond tooltip placement.

Overview
Tooltip now accepts side and align props (defaulting to top/center) and forwards them to Base UI’s Positioner, allowing callers to control where the popup renders.

Storybook is updated to center the layout and adds new stories demonstrating different align values and side placements.

Written by Cursor Bugbot for commit c32e007. This will update automatically on new commits. Configure here.

@shadabiiitnr20
Copy link
Author

shadabiiitnr20 commented Jan 29, 2026

Copy link

@cursor cursor bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Cursor Bugbot has reviewed your changes and found 1 potential issue.

Bugbot Autofix is OFF. To automatically fix reported issues with Cloud Agents, enable Autofix in the Cursor dashboard.

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.

2 participants