Skip to content
This repository has been archived by the owner on Jun 29, 2023. It is now read-only.

fix: only modify textEnabled when expand functionality is enabled #766

Merged
merged 4 commits into from
Jan 16, 2020

Conversation

driskull
Copy link
Member

Related Issue: None

Summary

fix: only modify textEnabled when expand functionality is enabled

@driskull driskull added bug Something isn't working 2 - in development labels Jan 16, 2020
@driskull driskull added this to the Grob Gob Glob Grod milestone Jan 16, 2020
@driskull driskull self-assigned this Jan 16, 2020
expanded: boolean;
}): void {
parent.querySelectorAll("calcite-action").forEach((action) => (action.textEnabled = expanded));
expand &&
Copy link
Member

Choose a reason for hiding this comment

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

Instead of modifying this utility, could you decide whether to use toggleChildActionText at its call site based on expand (or some other condition)?

@driskull driskull marked this pull request as ready for review January 16, 2020 17:24
@driskull driskull requested a review from a team as a code owner January 16, 2020 17:24
@driskull driskull requested a review from jcfranco January 16, 2020 17:24
Copy link
Member

@jcfranco jcfranco left a comment

Choose a reason for hiding this comment

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

👍

@driskull driskull merged commit 6fd3aea into master Jan 16, 2020
@driskull driskull deleted the dris0000/actionbar-actionpad-expand-fix branch January 16, 2020 17:58
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
2 - in development bug Something isn't working
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants