Skip to content

Cannot use with Ember 3.20.2 #153

Description

@LaliAz

Hi! I installed Ember Velcro latest version. My Ember app version is 3.20.2.
In my template I added, as per documentation, the lines below:

<div id="hook">The `reference` element (the hook)</div>
<div {{velcro "#hook"}}>The `floating` element (the loop)</div>

I get

Uncaught TypeError: Ember._helperManagerCapabilities is not a function

error.

  <Velcro as |velcro|>
  <div {{velcro.hook}}>Velcro hook</div>
  <div {{velcro.loop}}>Velcro loop stuck to Velcro hook!</div>
  {{log "velcro data" velcro.data}}
</Velcro>

I get

velcro.hook is not a valid name for a modifier on line 18.

I tried adding ember modifier in package.json, but nothing changed.

Any ideas why this might be happening? Maybe Ember version is not compatible?

Thanks!

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions