Added missing left and right placement positions #52149
Closed
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
What?
Added
left
andright
position definitions.Why?
I noticed that when I used
tooltipPosition="right"
andtooltipPosition="left"
in a Button component, it didn't work. However, "top" and "bottom" both work. To make right and left work, you'll need to addmiddle
y axis value to it: "middle right" and "middle left".How?
It looked like it didn't work because the definition for "right" and "left" were not defined in the list of shorthand positions. Since "top" and "bottom" values worked, I think it should be that "right" and "left" values should be added in as well.
Testing Instructions
Add a Button that uses "right" or "left" tooltipPositions:
Testing Instructions for Keyboard
Screenshots or screencast