Skip to content

[8.0-stable] fix(elements-window): Use fixed position#3645

Merged
tvdeyen merged 2 commits into8.0-stablefrom
backport/8.0-stable/pr-3636
Feb 5, 2026
Merged

[8.0-stable] fix(elements-window): Use fixed position#3645
tvdeyen merged 2 commits into8.0-stablefrom
backport/8.0-stable/pr-3636

Conversation

@alchemycms-ci-bot
Copy link
Copy Markdown
Collaborator

Backport

This will backport the following commits from main to 8.0-stable:

Questions ?

Please refer to the Backport tool documentation

tvdeyen and others added 2 commits February 5, 2026 15:33
`position: absolute` can lead to weird scrolling
offsets in some situations. With `display: fixed`
we make sure it stays on the same fixed position
on the screen, regardless of the scroll position.

While fixing that I fugred that the transition
animation from preview window and elements
window were not the same.

(cherry picked from commit b06b75b)

# Conflicts:
#	app/assets/builds/alchemy/admin.css
#	app/assets/builds/alchemy/dark-theme.css
#	app/assets/builds/alchemy/light-theme.css
#	app/assets/builds/alchemy/theme.css
The elements window was offscreen by default and only
visible on the edit page screen. Since automated
browser testing tools (capybara with selenium) open
the elements index view the elements window was always
offscreen and the browser needed to scroll the window
into view. With the recent change from absolute to fixed
position this was not working anymore.

Co-authored-by: Lasse Diercks <github@lassediercks.de>
(cherry picked from commit ec563dd)
@tvdeyen tvdeyen enabled auto-merge February 5, 2026 14:37
@codecov
Copy link
Copy Markdown

codecov bot commented Feb 5, 2026

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 97.20%. Comparing base (6ce90e0) to head (c341622).
⚠️ Report is 4 commits behind head on 8.0-stable.

Additional details and impacted files
@@             Coverage Diff             @@
##           8.0-stable    #3645   +/-   ##
===========================================
  Coverage       97.20%   97.20%           
===========================================
  Files             288      288           
  Lines            7579     7579           
===========================================
  Hits             7367     7367           
  Misses            212      212           

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.
  • 📦 JS Bundle Analysis: Save yourself from yourself by tracking and limiting bundle sizes in JS merges.

@tvdeyen tvdeyen merged commit 74722ee into 8.0-stable Feb 5, 2026
16 checks passed
@tvdeyen tvdeyen deleted the backport/8.0-stable/pr-3636 branch February 5, 2026 14:41
@alchemycms-bot alchemycms-bot bot mentioned this pull request Feb 6, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants