-
-
Notifications
You must be signed in to change notification settings - Fork 3.7k
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
Not displaying unsupported emoji in the emoji picker and mention plugin. #17698
base: epic/ck/17361
Are you sure you want to change the base?
Conversation
5f03ccc
to
de14e29
Compare
This solution bases on the solution used in emoji-picker-element. |
Testing this would be hard, because we would have to mock an unsupported emoji. I'm not adding any tests for now - if anyone thinks I should add them, let me know. |
4e308f6
to
9149e61
Compare
9149e61
to
e817e87
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
R- from my side, due to missing options (approaches to meet the requirements and goals), cons, pros, and conclusions (what, why, etc.) under the issue.
* Creates a div for emoji width testing purposes. | ||
*/ | ||
private _createEmojiWidthTestingContainer(): HTMLDivElement { | ||
const container = document.createElement( 'div' ); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
To avoid processing, I would mark this element with a proper aria attribute.
Suggested merge commit message (convention)
Internal: Not displaying unsupported emoji in the emoji picker and mention plugin. Closes #17666.
Additional information
For example – encountered issues, assumptions you had to make, other affected tickets, etc.