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

fix: popover opening with new slot syntax and no title/content #840

Open
wants to merge 1 commit into
base: 1.x
Choose a base branch
from

Conversation

damirbogdanov
Copy link
Contributor

Is this a bug fix or enhancement? - bug fix

Hello again! 👋

Once again, I appreciate all the hard work that's gone into this project. We're still happily using version 1. 😊

As we transitioned away from deprecated Vue slot syntax, we discovered some nuances with the popover component.

The Fix

The issue revolved around the isNotEmpty method. Previously, it checked for this.$slots.popover, which was causing problems with the latest Vue slot syntax. To address this, I've updated it to this.$scopedSlots.popover. This ensures that the popover functions as expected with the updated syntax. I've also added a unit test to cover this specific use case.

Is there a related issue?

None at this time.

Any Breaking Changes?

No breaking changes are introduced by this PR.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant