Fix mobile keyboard appearing when clicking ratings by blurring editor after updates

This commit is contained in:
Filip Noetzel 2025-06-10 12:55:15 +02:00
parent 97263123b3
commit 3e32fc1d97

View file

@ -68,6 +68,9 @@ export function updateRating(
}
});
// Prevent keyboard from appearing on mobile by blurring the editor
view.contentDOM.blur();
if (LOGGING_ENABLED) {
console.info('[InteractiveRatings] Rating updated with auto-add HTML comment support', {
oldRating: rating,