Skip to content

Fix KB article missing scroll in edit mode#23954

Merged
cedric-anne merged 1 commit intoglpi-project:mainfrom
AdrienClairembault:fix-kb-edit-scroll
Apr 20, 2026
Merged

Fix KB article missing scroll in edit mode#23954
cedric-anne merged 1 commit intoglpi-project:mainfrom
AdrienClairembault:fix-kb-edit-scroll

Conversation

@AdrienClairembault
Copy link
Copy Markdown
Member

@AdrienClairembault AdrienClairembault commented Apr 17, 2026

When entering edit mode, the KB container was expanding over his defined max height, which de-synchronized it from the side bar (see the blank space at the bottom right corner in the image below):

image

It turns out to be caused by some css instructions that were meant to deal with the bubble menu overflow.

After removing them, the menu was out of sync with its target element after a scroll so I had to do a few more tweaks (mainly attaching it the KB container so it scrolls with it, previously it was attached to the top level body tag).

@AdrienClairembault AdrienClairembault marked this pull request as ready for review April 20, 2026 12:25
@cedric-anne cedric-anne merged commit eb1f43e into glpi-project:main Apr 20, 2026
11 checks passed
@cedric-anne cedric-anne added this to the 12.0.0 milestone Apr 20, 2026
@AdrienClairembault AdrienClairembault deleted the fix-kb-edit-scroll branch April 20, 2026 13:50
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

UI issue: article expands instead of scrolling when in edit mode. This break the layout with the side panel, which itself respect the scroll.

2 participants