Skip to content

Scoped slots are not being passed #19

Open
@charlesg99

Description

@charlesg99

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
              ),
            ]
          },
        },
      )

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions