Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix(ASSETS-5344):[Supporting the Platforms-AEM Dynamic Media-Edit Smart Crops]: In High Contrast Black and White modes, 'Image View' slider is not visible which is present in the 'Edit Smart Crops'. #254

Conversation

ionelc-ensemble
Copy link
Contributor

https://jira.corp.adobe.com/browse/ASSETS-5344

Description

Slider track is not visible in Windows if a High Contrast mode is enabled in the OS settings because the element only has background color which is removed by the OS High Contrast settings.

Fixed by setting the tracker height to 0 and adding a 1px solid border around it when contrast mode is enabled.
Screenshots added below.

Related Issue

Motivation and Context

How Has This Been Tested?

Manually tested in latest version of Edge (v106.0), Chrome (v106.0) and Firefox (v106.0.2) on Windows 10 v21h2 in all the default High Contrast modes

Screenshots (if appropriate):

High Contrast White
High Contrast Black
High Contrast #2
High Contrast #1

Types of changes

  • Bug fix (non-breaking change which fixes an issue)
  • New feature (non-breaking change which adds functionality)
  • Breaking change (fix or feature that would cause existing functionality to change)

Checklist:

  • My change requires a change to the documentation.
  • I have updated the documentation accordingly.
  • I have read the CONTRIBUTING document.

@ionelc-ensemble
Copy link
Contributor Author

ionelc-ensemble commented Oct 26, 2022

@Pareesh and @RitwikSrivastava this is ready for review.
There are no tests since it's a visual change that becomes active only in high contrast mode

@ionelc-ensemble
Copy link
Contributor Author

cc @majornista

@Pareesh Pareesh merged commit 07f5793 into adobe:master Nov 2, 2022
github-actions bot pushed a commit that referenced this pull request Nov 2, 2022
## [4.15.5](v4.15.4...v4.15.5) (2022-11-02)

### Bug Fixes

* **ASSETS-5344:** slider track visibility in windows high contrast modes ([#254](#254)) ([07f5793](07f5793))
@github-actions
Copy link

github-actions bot commented Nov 2, 2022

🎉 This PR is included in version 4.15.5 🎉

The release is available on:

Your semantic-release bot 📦🚀

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.

None yet

2 participants