Edit Changelog: Desktop IME input only keeps first letter #5559

Closed
opened 2026-02-05 10:10:22 +03:00 by OVERLORD · 1 comment
Owner

Originally created by @CriedHero on GitHub (Jan 6, 2026).

Describe the Bug

When typing using a desktop IME, the input field only keeps the first letter (e.g. z instead of 中).
This does not happen on mobile devices.

/resources/js/components/page-editor.js:
const updateChangelogDebounced = debounce(this.updateChangelogDisplay.bind(this), 300, false);
this.changelogInput.addEventListener('input', () => {
const count = this.changelogInput.value.length;
this.changelogCounter.innerText = ${count} / 180;
updateChangelogDebounced();
});

composition.

Steps to Reproduce

1.In the edit page interface.
2.click on the change log.
3.enter Chinese characters.

Expected Behaviour

When typing Chinese using a desktop IME, the input field only keeps the first letter (e.g. z instead of 中).
This does not happen on mobile devices.

Screenshots or Additional Context

Image

Browser Details

Google Chrome v143.0.7499.170 win11

Exact BookStack Version

v25.12.1

Originally created by @CriedHero on GitHub (Jan 6, 2026). ### Describe the Bug When typing using a desktop IME, the input field only keeps the first letter (e.g. z instead of 中). This does not happen on mobile devices. /resources/js/components/page-editor.js: const updateChangelogDebounced = debounce(this.updateChangelogDisplay.bind(this), 300, false); this.changelogInput.addEventListener('input', () => { const count = this.changelogInput.value.length; this.changelogCounter.innerText = `${count} / 180`; updateChangelogDebounced(); }); composition. ### Steps to Reproduce 1.In the edit page interface. 2.click on the change log. 3.enter Chinese characters. ### Expected Behaviour When typing Chinese using a desktop IME, the input field only keeps the first letter (e.g. z instead of 中). This does not happen on mobile devices. ### Screenshots or Additional Context <img width="758" height="328" alt="Image" src="https://github.com/user-attachments/assets/c66f4fe3-c888-4258-b40f-949ce39e6f43" /> ### Browser Details Google Chrome v143.0.7499.170 win11 ### Exact BookStack Version v25.12.1
OVERLORD added the 🐛 Bug label 2026-02-05 10:10:22 +03:00
Author
Owner

@CriedHero commented on GitHub (Jan 16, 2026):

Temporary repair

resources/js/components/dropdown.js

Remove:
this.menu.addEventListener('mouseleave', this.hide);

@CriedHero commented on GitHub (Jan 16, 2026): Temporary repair resources/js/components/dropdown.js Remove: this.menu.addEventListener('mouseleave', this.hide);
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: starred/BookStack#5559