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

Call onShow(n)/onHide/onHidden when controlling tooltips and popovers programmatically #1718

Merged
merged 3 commits into from Jan 8, 2022

Conversation

simonihmig
Copy link
Contributor

Fixes #1438

The implementation is not really beautiful, as we still rely on those render-modifiers/helpers. But a complete refactor was out of scope for this quick fix.

Copy link
Contributor

@jelhan jelhan left a comment

Choose a reason for hiding this comment

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

Thanks a lot for picking this up. Looks good to me. I especially like the increased test coverage. 👏

I'm only surprised that it does not remove another mechanism to react to changes of @visible.

tests/integration/components/bs-popover-test.js Outdated Show resolved Hide resolved
tests/integration/components/bs-popover-test.js Outdated Show resolved Hide resolved
Co-authored-by: Jeldrik Hanschke <jelhan@users.noreply.github.com>
@simonihmig simonihmig merged commit b7eb9c7 into master Jan 8, 2022
@simonihmig simonihmig deleted the fix-popover-actions branch January 8, 2022 16:14
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.

onShow action is not called when controlling bs-popover visibility programmatically
2 participants