Skip to content

Scoped slots are not being passed #19

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

Open
charlesg99 opened this issue Mar 1, 2024 · 0 comments
Open

Scoped slots are not being passed #19

charlesg99 opened this issue Mar 1, 2024 · 0 comments

Comments

@charlesg99
Copy link

If it can help someone, I fixed it in the release dist file:

      return createVNode(
        Tag,
        {
          key: uniqueKey,
          ref: rootRef,
        },
        {
          default: function _default() {
            return [
              createVNode(
                Comp,
                _objectSpread2(
                  _objectSpread2({}, mergedProps),
                  {}                       // <--- moved "scopedSlots" from here
                ),
                scopedSlots,               // <--- to here, should be third param of createVNode
              ),
            ]
          },
        },
      )
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

No branches or pull requests

1 participant