Defect #44590
closedGantt navigation buttons shift when the horizontal scrollbar appears
Description
This is a regression introduced by #44567. The Previous and Next buttons below the Gantt chart move down when a horizontal scrollbar appears, and move back up when it disappears.
To reproduce:
- Open a Gantt chart with no horizontal scrollbar.
- Widen the subject column until the horizontal scrollbar appears.
- Notice that the Previous and Next buttons move down.

Files
Related issues
Updated by Katsuya HIDAKA 1 day ago
- File issue-after-fix.png issue-after-fix.png added
- File 0001-Fix-Gantt-navigation-buttons-shifting-when-the-scrollbar-appears-or-disappears.patch 0001-Fix-Gantt-navigation-buttons-shifting-when-the-scrollbar-appears-or-disappears.patch added
I'm attaching a patch that reserves space for the horizontal scrollbar. This keeps the navigation buttons in the same position, as they did before #44567.

I've confirmed the fix in the following browsers:
- Chrome, Firefox, and Safari on macOS.
- Chrome on Windows 11.
You can also view this change on https://github.com/hidakatsuya/redmine/pull/69.
Updated by Go MAEDA about 7 hours ago
- Related to Feature #44567: Modernize Gantt chart HTML structure added
Updated by Go MAEDA about 7 hours ago
- Status changed from New to Closed
- Assignee set to Go MAEDA
- Resolution set to Fixed
Committed the fix as part of #44567. Thank you.