mirror of
https://github.com/peritus/obsidian-interactive-ratings.git
synced 2026-07-22 05:43:17 +00:00
Fix mobile keyboard appearing when clicking ratings by blurring editor after updates
This commit is contained in:
parent
97263123b3
commit
3e32fc1d97
1 changed files with 3 additions and 0 deletions
|
|
@ -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,
|
||||
|
|
|
|||
Loading…
Reference in a new issue