ember-gestures icon indicating copy to clipboard operation
ember-gestures copied to clipboard

Exception when using modifiers

Open pieter-v opened this issue 4 years ago • 1 comments

It works with [email protected] but fails with [email protected]

I have a simple template

<div
  style={{this.style}}
  class="..."
  title={{this.title}}
  role="button"
  ...attributes
  {{recognize-gesture "tap"}}
  {{on "tap" this.tap}}
></div>

When rendering this template the following exception occurs:

TypeError: Cannot read property 'lookup' of undefined
    at new RecognizeGestureModifier (recognize-gesture.js:14)
    at Function.create (modifier-native.js:23)
    at Object.create (manager.js:671)
    at ClassBasedModifierManager.createModifier (modifier-manager.js:17)
    at manager.js:680
    at deprecateMutationsInTrackingTransaction (validator.js:144)
    at CustomModifierManager.create (manager.js:679)
    at invokeModifier (runtime.js:2658)
    at Object.evaluate (runtime.js:2604)
    at AppendOpcodes.evaluate (runtime.js:1225)

pieter-v avatar Feb 23 '21 07:02 pieter-v

The pull request #137 fixes this issue. Would it be possible to release it?

pieter-v avatar Mar 04 '21 07:03 pieter-v