Skip to content

feat(tooltip): when tooltip position is left or right, auto adjust its position#1314

Merged
edlerd merged 1 commit intomainfrom
tooltip-position
Feb 13, 2026
Merged

feat(tooltip): when tooltip position is left or right, auto adjust its position#1314
edlerd merged 1 commit intomainfrom
tooltip-position

Conversation

@edlerd
Copy link
Contributor

@edlerd edlerd commented Feb 11, 2026

Done

  • feat(tooltip) when tooltip position is left or right, auto adjust its position considering the above or below space being too small

QA

Pinging @canonical/react-library-maintainers for a review.

Storybook

To see rendered examples of all react-components, run:

yarn start

QA in your project

from react-components run:

yarn build
npm pack

Install the resulting tarball in your project with:

yarn add <path-to-tarball>

QA steps

  • check tooltip positioning in storybook

Percy steps

  • no change expected

@webteam-app
Copy link

@edlerd edlerd changed the title feat(tooltip) when tooltip position is left or right, auto adjust its position feat(tooltip): when tooltip position is left or right, auto adjust its position Feb 11, 2026
@Onibenjo Onibenjo self-requested a review February 13, 2026 13:44
Copy link

@Onibenjo Onibenjo left a comment

Choose a reason for hiding this comment

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

a null check comment
asides thata LGTM

…s position considering the above or below space being too small

Signed-off-by: David Edler <david.edler@canonical.com>
@edlerd edlerd merged commit f34427e into main Feb 13, 2026
9 checks passed
@edlerd edlerd deleted the tooltip-position branch February 13, 2026 14:10
@github-actions
Copy link

🎉 This PR is included in version 3.12.0 🎉

The release is available on:

Your semantic-release bot 📦🚀

edlerd added a commit to canonical/lxd-ui that referenced this pull request Feb 20, 2026
## Done

- fix(rich-chips) show rich chips on the right

## QA

1. Run the LXD-UI:
- On the demo server via the link posted by @webteam-app below. This is
only available for PRs created by collaborators of the repo. Ask @Kxiru
or @edlerd for access.
- With a local copy of this branch, [build and run as described in the
docs](https://github.com/canonical/lxd-ui/blob/main/CONTRIBUTING.md#setting-up-for-development).
2. Perform the following QA steps:
    - check rich tooltip positions

Unblocked with canonical/react-components#1314
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants