Changeset a7e8e19 in Klonkt for CHANGELOG.md


Ignore:
Timestamp:
06/19/2026 10:34:24 AM (3 months ago)
Author:
roboburr <roboburr@…>
Branches:
main
Children:
16ce669
Parents:
f83ccf3
Message:

fix(editor): mobile — formatting buttons no longer steal focus (toggle + no jump)

Toolbar buttons called editor.focus() on click after the tap had already
moved focus/selection out of the contenteditable field → bold/italic
could not be toggled off and the page jumped to the caret. Now
mousedown-preventDefault on the toolbar (focus stays in the editor) +
editor.focus({preventScroll:true}) + touch-action:manipulation for snappy
taps.

Co-Authored-By: Claude <noreply@…>

File:
1 edited

Legend:

Unmodified
Added
Removed
  • CHANGELOG.md

    rf83ccf3 ra7e8e19  
    1313
    1414## [Unreleased]
     15
     16### Opgelost
     17- Posts schrijven op mobiel: een opmaakknop (vet/cursief/…) stal de focus uit het
     18  tekstveld → de selectie ging verloren (vet kon niet meer uitgezet worden) en de
     19  pagina sprong naar beneden. De toolbar houdt de focus nu in de editor
     20  (mousedown-preventDefault + focus zonder scroll), dus toggelen werkt en er is geen
     21  sprong meer. Toolbar-taps zijn ook sneller (touch-action: manipulation).
    1522
    1623### Toegevoegd
Note: See TracChangeset for help on using the changeset viewer.