-
Notifications
You must be signed in to change notification settings - Fork 34
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
2017 ic toggle button group props dont seem to be passed down correctly to toggle button 1 #3004
Open
gd2910
wants to merge
4
commits into
v3.0.0/develop
Choose a base branch
from
2017-ic-toggle-button-group-props-dont-seem-to-be-passed-down-correctly-to-toggle-button-1
base: v3.0.0/develop
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
+891
−310
Conversation
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
View your branch deployment here: https://mi6.github.io/ic-ui-kit/branches/2017-ic-toggle-button-group-props-dont-seem-to-be-passed-down-correctly-to-toggle-button-1/web-components |
gd2910
force-pushed
the
2017-ic-toggle-button-group-props-dont-seem-to-be-passed-down-correctly-to-toggle-button-1
branch
6 times, most recently
from
January 13, 2025 16:52
ae7c52b
to
6300a05
Compare
gd2910
force-pushed
the
2017-ic-toggle-button-group-props-dont-seem-to-be-passed-down-correctly-to-toggle-button-1
branch
from
January 14, 2025 10:36
22c9870
to
ca9ea5a
Compare
gd2910
force-pushed
the
2017-ic-toggle-button-group-props-dont-seem-to-be-passed-down-correctly-to-toggle-button-1
branch
2 times, most recently
from
January 14, 2025 13:46
9ff5165
to
5103e9e
Compare
gd2910
force-pushed
the
2017-ic-toggle-button-group-props-dont-seem-to-be-passed-down-correctly-to-toggle-button-1
branch
4 times, most recently
from
January 21, 2025 10:53
17fb6f7
to
836e244
Compare
gd2910
force-pushed
the
2017-ic-toggle-button-group-props-dont-seem-to-be-passed-down-correctly-to-toggle-button-1
branch
6 times, most recently
from
January 22, 2025 16:17
471279a
to
e7a7200
Compare
helper function added for a comp to detect if it is the child of a group
type added for ic-toggle-button
bugfix for ic-toggle-button-group where a slotted ic-toggle-button would flash as default then render to the required prop
gd2910
force-pushed
the
2017-ic-toggle-button-group-props-dont-seem-to-be-passed-down-correctly-to-toggle-button-1
branch
from
January 22, 2025 16:43
e7a7200
to
843d9cc
Compare
tests updated after chnage in prop allocation from toggle buton group to children
gd2910
force-pushed
the
2017-ic-toggle-button-group-props-dont-seem-to-be-passed-down-correctly-to-toggle-button-1
branch
from
January 23, 2025 10:35
843d9cc
to
5ae7a78
Compare
GCHQ-Developer-299
approved these changes
Jan 23, 2025
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Summary of the changes
Bugfix: if a toggle-button (TB) slotted in a toggle-button-group (TBG) had a prop such as
loading
ordisabled
, the TBG would only apply the props tp the TB once it had rendered, resulting in a flash from a default TB to a TB with the required props.TB now detect whether it is a child of a TBG and applies appropriate attributes from parent.
Testing and Storybook - removed superfluous props on TB within TBG
Related issue
#2017