Skip to content

Add support for tooltip offset option to be a function - #28130

Merged
XhmikosR merged 3 commits into
twbs:v4-devfrom
jgolieb:popper-offset-fn
Feb 5, 2019
Merged

XhmikosR merged 3 commits into
twbs:v4-devfrom
jgolieb:popper-offset-fn

Conversation

@jgolieb

@jgolieb jgolieb commented Jan 28, 2019

Copy link
Copy Markdown
Contributor

Fixes #24223

@jgolieb
jgolieb requested a review from a team as a code owner January 28, 2019 21:04

@Johann-S Johann-S left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

Can you move the logic in a private method please and can you add unit tests please

Comment thread js/src/tooltip.js Outdated
@Johann-S

Copy link
Copy Markdown
Member

@XhmikosR it seems we have some issues with Bundlesize, the github token is not found https://travis-ci.org/twbs/bootstrap/jobs/486082928#L833

Comment thread js/tests/unit/tooltip.js Outdated
@Johann-S

Copy link
Copy Markdown
Member

Just one comment and it'll be alright 👍

@XhmikosR

XhmikosR commented Jan 30, 2019 •

Copy link
Copy Markdown
Member

@Johann-S the GH token isn't (and wasn't) available for PRs made by people without push rights, same as Browser Stack.

The build fails here due to the bundlesize limit. We'll need to increase bootstrap.js limit a bit.

@XhmikosR
XhmikosR merged commit 1139f62 into twbs:v4-dev Feb 5, 2019
@mdo mdo mentioned this pull request Feb 5, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants