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

Cannot use with Ember 3.20.2 #153

Open
LaliAz opened this issue Nov 15, 2023 · 1 comment
Open

Cannot use with Ember 3.20.2 #153

LaliAz opened this issue Nov 15, 2023 · 1 comment

Comments

@LaliAz
Copy link

LaliAz commented Nov 15, 2023

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!

@NullVoxPopuli
Copy link
Contributor

Looks like the readme is wrong.

Minimum tested version is 3.28: https://github.com/CrowdStrike/ember-velcro/blob/main/.github/workflows/ci.yml#L114

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

2 participants