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(tooltip): autoclose #2571

Merged
merged 1 commit into from
Aug 6, 2018

Conversation

ymeine
Copy link
Contributor

@ymeine ymeine commented Aug 3, 2018

No description provided.

Copy link
Member

@maxokorokov maxokorokov left a comment

Choose a reason for hiding this comment

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

LGTM, could you just please update one test?

@@ -8,6 +8,7 @@ import {PlacementArray} from '../util/positioning';
*/
@Injectable({providedIn: 'root'})
export class NgbTooltipConfig {
autoClose: boolean | 'inside' | 'outside' = true;
Copy link
Member

@maxokorokov maxokorokov Aug 6, 2018

Choose a reason for hiding this comment

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

No big deal, but could you please update the test for this?

https://github.com/ymeine/ng-bootstrap/blob/2ac9798db9c7d76f3af4d891ed28cdf36cc1faf1/src/tooltip/tooltip.spec.ts#L730-L738

(probably forgot to do it for popover too, if so, preferably, in a separate PR)

@maxokorokov maxokorokov merged commit fa765a8 into ng-bootstrap:master Aug 6, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants