-
Notifications
You must be signed in to change notification settings - Fork 64
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
Popup widget #925
Popup widget #925
Conversation
This pull request has been deployed to:
|
if (willFit.below) { | ||
wrapperStyles.top = `${triggerBottom}px`; | ||
} else { | ||
wrapperStyles.top = `${triggerTop - wrapperDimensions.size.height}px`; |
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.
Do we need to handle when it won't fit above or below? I'm thinking this could happen with a mobile phone on landscape.
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.
I plan for us to tackle left / right positions as a follow up PR / issue
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.
Should we get an issue posted just so we don't lose track of this?
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.
I added it to the existing issue already @vansimke
This pull request has been deployed to:
|
This pull request has been deployed to:
|
* initial * add width * add basic popup implementation * basic test file * setting up harnass * typed children * adding examples * stubbing node * add tests for popup * add readme * stub scroll / height
Type: feature
The following has been addressed in the PR:
theme.compose
like thisDescription:
Adds popup widget and tests
Resolves #924