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: remove applySmooth in button #409

Merged
merged 4 commits into from
Nov 20, 2023

Conversation

joshhowenstine
Copy link
Contributor

@joshhowenstine joshhowenstine commented Nov 15, 2023

Description

It has been observed that when a button is displayed as the first item in a Row or Column and immediately receives focus it sill not display the text or icon for the first item.

button

Does not work if gains focus right away before this PR

Works with timeout before this PR

References

JIRA Ticket

Testing

This currently was not reproduced in Storybook without a lot of changes. Unfortunatly we might need to test this in flex or another consuming app manually by building an artifact.

Automation

Should not require any changes

@svc-lightning-ui-components
Copy link
Collaborator

Test Execution Failed.

@ImCoolNowRight ImCoolNowRight force-pushed the fix/focus-manager-first-focused branch from f0088f5 to 04d5421 Compare November 15, 2023 22:25
@svc-lightning-ui-components
Copy link
Collaborator

Test Execution Failed.

2 similar comments
@svc-lightning-ui-components
Copy link
Collaborator

Test Execution Failed.

@svc-lightning-ui-components
Copy link
Collaborator

Test Execution Failed.

Copy link
Contributor

@ImCoolNowRight ImCoolNowRight left a comment

Choose a reason for hiding this comment

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

I pulled this into IS and it seems to have fixed the issue with NavigationLeft where we had to force the first NavItem to update to get the icon loading properly. So I think this is good!

@svc-lightning-ui-components
Copy link
Collaborator

Test Execution Failed.

3 similar comments
@svc-lightning-ui-components
Copy link
Collaborator

Test Execution Failed.

@svc-lightning-ui-components
Copy link
Collaborator

Test Execution Failed.

@svc-lightning-ui-components
Copy link
Collaborator

Test Execution Failed.

@joshhowenstine joshhowenstine changed the title fix: remove applySmooth in button. Add guards to updateThemeComponent fix: remove applySmooth in button Nov 20, 2023
@joshhowenstine joshhowenstine force-pushed the fix/focus-manager-first-focused branch from 0366674 to a3b91a0 Compare November 20, 2023 18:27
@svc-lightning-ui-components
Copy link
Collaborator

Test Execution Passed.

@joshhowenstine joshhowenstine merged commit d2c29dd into develop Nov 20, 2023
5 checks passed
@joshhowenstine joshhowenstine deleted the fix/focus-manager-first-focused branch November 20, 2023 18:54
svc-lightning-ui-components pushed a commit that referenced this pull request Nov 22, 2023
# [@lightningjs/ui-components-v2.17.0](https://github.com/rdkcentral/Lightning-UI-Components/compare/@lightningjs/ui-components-v2.16.1...@lightningjs/ui-components-v2.17.0) (2023-11-22)

### Bug Fixes

* **Button:** support re patching prefix after undefined ([#407](#407)) ([e773c32](e773c32))
* **NavigationManager:** adjust isFullyOnScreen and isComponentOnScreen ([#417](#417)) ([32601bd](32601bd))
* remove applySmooth in button ([#409](#409)) ([d2c29dd](d2c29dd))
* **TabBar:** propogate key press events and emit tabChanged signal ([#406](#406)) ([9f06b81](9f06b81))
* **TitleRow:** alias rowMarginTop to titleMarginBottom ([#404](#404)) ([c2c3eb4](c2c3eb4))
* update Checkbox, Radio, and Toggle style mappings ([#408](#408)) ([1e93576](1e93576))

### Features

* **Button:** only repatch prefix/suffix row if props change ([#410](#410)) ([9297903](9297903))
@svc-lightning-ui-components
Copy link
Collaborator

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

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.

5 participants