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(ControlRow): fix right controls to use lazyScrolling too #480

Merged
merged 1 commit into from
Feb 29, 2024

Conversation

erautenberg
Copy link
Contributor

Description

The ControlRow currently has some odd scrolling behavior where we attempt to "alwaysScroll" on the right controls (like the left), but this creates some odd behaviors. It makes more sense to always lazyScroll on those pieces as well and only do the alwaysScroll for the leftmost controls. We can always tweak this further in the future (like if we want to "alwaysScroll" back from the right controls to the main content), but this makes it look less broken for the moment.

References

Testing

Confirm scrolling in the ControlRow stories look more intentional.

Automation

Checklist

  • all commented code has been removed
  • any new console issues have been resolved
  • code linter and formatter has been run
  • test coverage meets repo requirements
  • PR name matches the expected semantic-commit syntax

@svc-lightning-ui-components
Copy link
Collaborator

Test Execution Failed.

@ImCoolNowRight ImCoolNowRight merged commit 9717848 into develop Feb 29, 2024
9 checks passed
@ImCoolNowRight ImCoolNowRight deleted the fix/ControlRow branch February 29, 2024 21:28
svc-lightning-ui-components pushed a commit that referenced this pull request Feb 29, 2024
# [@lightningjs/ui-components-v2.20.3](https://github.com/rdkcentral/Lightning-UI-Components/compare/@lightningjs/ui-components-v2.20.2...@lightningjs/ui-components-v2.20.3) (2024-02-29)

### Bug Fixes

* **ControlRow:** fix right controls to use lazyScrolling too ([#480](#480)) ([9717848](9717848))
* **NavigationManager:** check an items render size before its set width or height for layout (important for Tiles using metadata underneath) ([#479](#479)) ([40d2e21](40d2e21))
* **NavigationManager:** fix render order and storybook glitches ([#468](#468)) ([a90457a](a90457a))
* **NavigationManager:** if an itemPosX or itemPosY are set, apply offset to scrolling ([#477](#477)) ([a02cf12](a02cf12))
* **TitleRow:** move title props to separate getter for easier extension of other components ([#478](#478)) ([ad34043](ad34043))
@svc-lightning-ui-components
Copy link
Collaborator

🎉 This PR is included in version @lightningjs/ui-components-v2.20.3 🎉

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.

4 participants