Skip to content

NXT-13003: Update focus area of Scroller in case of byEnter#347

Open
dan-ichim-lgp wants to merge 1 commit into
developfrom
feature/NXT-13003
Open

NXT-13003: Update focus area of Scroller in case of byEnter#347
dan-ichim-lgp wants to merge 1 commit into
developfrom
feature/NXT-13003

Conversation

@dan-ichim-lgp
Copy link
Copy Markdown
Contributor

@dan-ichim-lgp dan-ichim-lgp commented May 15, 2026

Checklist

  • I have read and understand the contribution guide
  • A CHANGELOG entry is included
  • At least one test case is included for this feature or bug fix
  • Documentation was added or is not needed
  • This is an API breaking change

Issue Resolved / Feature Added

When using focusableScrollbar="byEnter" on a Scroller, the focus highlight was extending over the scrollbar area, causing the two to visually overlap.

Resolution

The focus area is now constrained to the content region only, leaving the scrollbar visually separate. The behavior is correct in both LTR and RTL layouts and updates dynamically if the scrollbar visibility changes.

Additional Considerations

Can be verified by navigating to a Scroller with focusableScrollbar="byEnter" and pressing Enter to activate the text area — the focus highlight should stop at the scrollbar boundary. Screenshot tests have been added to cover this state.

Links

NXT-13003

Comments

Enact-DCO-1.0-Signed-off-by: Dan Ichim (dan.ichim@lgepartner.com)

@dan-ichim-lgp dan-ichim-lgp changed the base branch from master to develop May 15, 2026 07:03
@codecov
Copy link
Copy Markdown

codecov Bot commented May 15, 2026

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 81.86%. Comparing base (fc33ccd) to head (373e30f).

Additional details and impacted files
@@           Coverage Diff            @@
##           develop     #347   +/-   ##
========================================
  Coverage    81.86%   81.86%           
========================================
  Files          153      153           
  Lines         7477     7479    +2     
  Branches      2250     2251    +1     
========================================
+ Hits          6121     6123    +2     
  Misses        1048     1048           
  Partials       308      308           

☔ 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.

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.

1 participant