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

Wrong tooltip for category #32

Closed
PascalHonegger opened this issue Mar 30, 2018 · 1 comment
Closed

Wrong tooltip for category #32

PascalHonegger opened this issue Mar 30, 2018 · 1 comment
Assignees

Comments

@PascalHonegger
Copy link

The titles within the category header display angular code instead of the (localized) name. This can be seen in the official demo. I suppose the error is because of the following line:
https://github.com/TypeCtrl/ngx-emoji-mart/blob/27c3c3532d04f9179b752c51584aae078060c15d/src/lib/picker/anchors.component.ts#L19
This binding doesn't evaluate and simply uses provided string. To solve this issue you would have to write

title="{{i18n.categories[category.id]}}"

or

[attr.title]="i18n.categories[category.id]"

As the i18n object doesn't exist in the anchors.component yet, that would also have to be added

@scttcper scttcper self-assigned this Mar 30, 2018
@scttcper
Copy link
Owner

🎉 This issue has been resolved in version 0.2.1 🎉

The release is available on:

Your semantic-release bot 📦🚀

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