discourse/app
David Taylor dfc947a97d
PERF: Defer button actions to improve interaction-next-paint (INP) (#28019)
This is a variation on bc3e8a9963cf9a64d114ec751c875025af169690, which was reverted due to issues on iOS. Safari's "in response to user action" check cannot follow the `runAfterFramePaint` chain of interaction -> requestAnimationFrame -> messageChannel, and so some sensitive browser APIs (e.g. clipboard, upload, etc.) were blocked.

This commit is similar, but uses `next()` instead of `runAfterFramePaint()`. The result seems the same, but doesn't have the same issue on iOS.

The chat-emoji-picker change was required to resolve a test failure. The emoji picker has never closed-on-scroll on desktop, so there is no user-facing change in behavior.
2024-08-20 10:11:34 +08:00
..
assets PERF: Defer button actions to improve interaction-next-paint (INP) (#28019) 2024-08-20 10:11:34 +08:00
controllers FEATURE: add system_user_max_attachment_size_kb site setting (#28351) 2024-08-16 11:03:39 -03:00
helpers UX: Use localized time format in embedded comments (#28014) 2024-07-22 18:42:36 +08:00
jobs DEV: Cleanup empty method in job (#28395) 2024-08-16 14:10:46 +08:00
mailers UX: Use a dropdown for SSL mode for group SMTP (#27932) 2024-07-18 10:33:14 +10:00
models FIX: serialize Flags instead of PostActionType (#28362) 2024-08-14 12:13:46 +10:00
serializers FIX: broken mentioned users with capitalized usernames (#28421) 2024-08-19 20:57:45 +02:00
services FEATURE: add delay to native push notifications (#28314) 2024-08-13 12:12:05 +04:00
views DEV: Convert account activation pages to use Ember (#28206) 2024-08-12 18:02:00 -03:00