-
Notifications
You must be signed in to change notification settings - Fork 67
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,tourtip,infotip): added popper support #2165
Conversation
Just noticed this on the popper documentation:
Might be worth looking at those issues to make sure we are comfortable with them. We have to support back to Safari 12. |
Those issues look to be related to scrolling, one of them over-scrolling (rubber band) effect. I can see why they would occur. If the intent of the library is to attach one element to another positionally and also to avoid viewport boundaries and reposition itself within the viewport, I can see how scrolling would create a "conflict of interest" here. |
Yah from what i see that on safari it would act just like what we had before. So it wont be any different from our previous implementation of tip overlays. |
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.
LGTM.
Is |
Can we please add a test story for popper overlay inside of container with overflow hidden. Or even showcase that in the main docs. |
Will wait for next release to get all the cleanup. |
Okay, should be ready for re-review. Updated to floating ui, should be working. |
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.
Looks good!
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.
Looks awesome! I'm excited to see this on other floating elements like listbox
and date-textbox
.
It would have probably been nice to do prettier for main.js
in a separate PR but I'll let it slide
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 would like to still keep the examples of infotip, tooltip, tourtip that we had without popper, and then added a dynamic positioning section for each which shows what accommodations we have to make in the markup/css (if any) for a 3rd party module like popper.
Co-authored-by: Ian McBurnie <[email protected]>
Co-authored-by: Ian McBurnie <[email protected]>
Co-authored-by: Ian McBurnie <[email protected]>
Co-authored-by: Ian McBurnie <[email protected]>
Co-authored-by: Ian McBurnie <[email protected]>
Co-authored-by: Ian McBurnie <[email protected]>
Fixed this. I had removed the margin on bubble which was breaking in other places. I changed the positioning of the tip to get it to work. |
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.
Looks fine to me, but we should get a confirmation approval from Ian since he had the bulk of feedback.
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.
Great work @agliga
Fixes #1424
Description
aria-expanded
. We can revisit this if needed, but it doesn't seem necessary.Checklist