mattboldt/typed.js

Emojis rendered as question mark for a fraction of second before render

lugosium opened this issue · 1 comments

Description

Display a question mark before displaying the correct emoji.
I looked into issues but does not appear to have been reported, sorry if it's the case.

After looking on Stackoverflow, substring is apparently the method causing this behavior. (see this issue)

Demo

https://jsfiddle.net/xwLqr092/

Steps to Reproduce

  1. Use an emoji in your strings.

Expected behavior: No question mark before showing the emoji

Actual behavior: Display a question mark before showing the emoji

Reproduces how often: 100%

Additional Information

I tried to fix it by using Runes but it is not working.

stale commented

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.