AhsanAyaz / AhsanAyaz/ionic-el-scroll

Delegate for handle "delegate" could not find a corresponding element

Ouverte
#1 1 commentaire 0 réactions 0 personnes assignées Voir sur GitHub
Langage dominant
JavaScript
Étoiles
4
Forks
1
Métriques de merge des PR
Aucune PR mergée en 30 j

Description

I'm using your cool module for my project but I've encountered a small problem, when trying to use your directive I'm getting the following error:

>Delegate for handle "delegate" could not find a corresponding element with delegate-handle="delegate"! anchorScroll() was not called!
> Possible cause: If you are calling anchorScroll() immediately, and your element with delegate-handle="delegate" is a child of your controller, then your element may not be compiled yet. Put a $timeout around your call to anchorScroll() and try again

Note that:
- I'm passing the delegate like `delegate: '@delegate' `, in directive's `$scope`
- I'm using the latest version of the repo.
- your directive is being used inside my custom directive
- on the screen's view I've set the `delegate-handle` like: ``

Here's the HTML view (partial)

```


{{model | localize}}

```

I'm using a virtual keyboard (a custom directive directive) and I'd like to scroll so that I see the input each time that I time or I have the virtual keyboard (a custom directive directive) opened.

**How I can solve this issue?**

Guide de contribution

Aucun guide de contribution indexé pour ce dépôt

Évaluation

Cette issue n'a pas encore été évaluée.

Recevez les nouvelles issues par e-mail

Un résumé court des issues GitHub adaptées aux débutants.