Skip to content

Add yAxis=middle support to Popover#7038

Merged
noisysocks merged 2 commits into
masterfrom
add/yaxis-middle-to-popover
Jun 7, 2018
Merged

Add yAxis=middle support to Popover#7038
noisysocks merged 2 commits into
masterfrom
add/yaxis-middle-to-popover

Conversation

@noisysocks

Copy link
Copy Markdown
Member

Add yAxis=middle support to the Popover component so that we can use it to implement NUX tips.

I split this out of #6631 because it was becoming too large of a PR.

To test:

You could find an existing <Popover> and set its position to e.g. "middle right".

Alternatively, just check out the try/nux-tips branch which has these changes and test the New User Guide.

Add yAxis=middle support to the Popover component so that we can use it
to implement NUX tips.
@noisysocks noisysocks added [Type] Enhancement A suggestion for improvement. [Feature] UI Components Impacts or related to the UI component system labels May 31, 2018
@noisysocks noisysocks requested a review from youknowriad May 31, 2018 06:16
{
'is-mobile': isMobile,
'no-arrow': noArrow,
'no-arrow': noArrow || ( xAxis === 'center' && yAxis === 'middle' ),

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

I think we should clarify the possible values in the README :)

@youknowriad youknowriad left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

LGTM 👍

@noisysocks noisysocks merged commit be00077 into master Jun 7, 2018
@noisysocks

Copy link
Copy Markdown
Member Author

Thanks, Riad!

@noisysocks noisysocks added this to the 3.1 milestone Jun 7, 2018
@noisysocks noisysocks deleted the add/yaxis-middle-to-popover branch June 7, 2018 03:29
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

[Feature] UI Components Impacts or related to the UI component system [Type] Enhancement A suggestion for improvement.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants