The Wayback Machine - https://web.archive.org/web/20201108164818/https://github.com/ng-bootstrap/ng-bootstrap/pull/3671
Skip to content
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(positioning): popper 2 #3671

Open
wants to merge 1 commit into
base: master
from
Open

feat(positioning): popper 2 #3671

wants to merge 1 commit into from

Conversation

@fbasso
Copy link
Member

@fbasso fbasso commented Apr 8, 2020

WORK IN PROGRESS - DO NOT MERGE

This is a try on how to handle popper 2 in ngBootstrap. As it's now tree shakable, it's a good candidate for Bootstrap 5.

At the moment, everything seems to work fine. The only issue I was not able to manage is the arrow placement for the popover and tooltip when located on left or right: the arrow is not centered well, I failed to understand why, compared to the examples provided by popper.

Offsets are not managed sharply (I mean, it's not pixel perfect !), but it will be easy to change them through the popper api.

@fbasso fbasso mentioned this pull request Apr 8, 2020
0 of 5 tasks complete
@fbasso fbasso force-pushed the fbasso:popper branch from 1aea793 to 83e0fc5 Aug 31, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Linked issues

Successfully merging this pull request may close these issues.

None yet

1 participant
You can’t perform that action at this time.