Skip to content

Exception when using modifiers #138

@pieter-v

Description

@pieter-v

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)

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