-
Notifications
You must be signed in to change notification settings - Fork 106
feat(tooltip): PFE1:1 #2045
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
feat(tooltip): PFE1:1 #2045
Conversation
…nt switcher from tooltip
🦋 Changeset detectedLatest commit: 5d18f1a The changes in this PR will be included in the next version bump. This PR includes changesets to release 2 packages
Not sure what this means? Click here to learn what changesets are. Click here if you're a maintainer who wants to add another changeset to this PR |
|
@brianferry do make sure to squash when merging, please |
marionnegp
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@brianferry, the changes look good! I added a comment about the background color.
Can the tooltip be shifted so that the arrow is centered on the invoker for the following tooltip positions?

- Left-Start Tooltip
- Left-End Tooltip
- Right-Start Tooltip
- Right-End Tooltip
- Top-Start Tooltip
- Bottom-Start Tooltip
The top-end and bottom-end positioning look correct.
the |
|
@bennypowers, I thought so too, but they look centered for the top-end and bottom-end tooltips. Is there a way to get the other tooltips to be positioned similarly? I'm not able to see these variations in relation to the invoker on patternfly.org though, so if it already matches what's on PF, it's fine. |
I think this might be a case of where our demos don't show a button like patternfly.org so it looks different because of the size of the element. I set up an element locally and top-start / top-end looks like this Which seems to lineup with how patternfly does it |
|
@brianferry wdyt about updating those examples in the demo, for clarity? and thanks @marionnegp for clarifying the issue |
I think that's a good idea, just pushed an update which should add the buttons to the demos instead of the icons for clarity. @marionnegp - tagging for visibility. |
|
Well done, @brianferry and reviewers! |



What I Did
--pf-c-variables from patternfly.Choices
Note To Reviewers