You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hey, everytime i run the webpage with the emoji code i got the following error :
TypeError: Cannot read property 'offsetHeight' of undefined
at emojiDirectives.js:145
at angular.js:16380
at completeOutstandingRequest (angular.js:4940)
at angular.js:5328
Tracking the line code, the error is from :
var height = richTextarea.offsetHeight;
So richTextarea is undefined. I don't get why... He should be instanciated by the following line 30 of emojiDirectives.js :
Ok, nevermind, i solved it. i attributed "emoji-form emoji-message" inside a tag who already has a personal directive, seems it skiped the code triggered by this marker.
Just another question : is that possible to use it with a "input" widget and not a contenteditable ?
@sam2x
How did you resolve this problem?
Even I'm using is inside a tag which is part of another directive. The way I've modeled it requires it to be a part of directive's template.
Hey, everytime i run the webpage with the emoji code i got the following error :
Tracking the line code, the error is from :
So richTextarea is undefined. I don't get why... He should be instanciated by the following line 30 of emojiDirectives.js :
.emoji-wysiwyg-editor is supposed to be added by jquery.emojiarea.js on line 339 :
Has anyone got this error ? Any pointers would be appreciated.
The text was updated successfully, but these errors were encountered: