Skip to content

Conversation

@albozek
Copy link
Contributor

@albozek albozek commented Nov 7, 2025

🎫 Issue IBX-10932

Related PRs:

Description:

For QA:

Documentation:

@albozek albozek requested review from a team and Copilot November 7, 2025 15:21
Copy link

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull Request Overview

This PR changes the back-to-top button's text display behavior from scroll-position-based to hover-based interaction. Instead of showing the button text only when scrolled to the bottom of the page, the text now appears when users hover over the button.

Key changes:

  • Replaced scroll-based text visibility logic with CSS hover effect
  • Removed JavaScript code that calculated scroll position to toggle text visibility
  • Simplified function naming to reflect new behavior

Reviewed Changes

Copilot reviewed 2 out of 2 changed files in this pull request and generated no comments.

File Description
src/bundle/Resources/public/scss/_back-to-top.scss Added hover state to show title text; removed scroll-based visibility modifier class
src/bundle/Resources/public/js/scripts/admin.back.to.top.js Removed scroll position calculation logic and text visibility toggling; renamed function to reflect simplified behavior

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

@sonarqubecloud
Copy link

sonarqubecloud bot commented Nov 7, 2025

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants