You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Action Group supports setting visibleActions, but it only works on init, it doesn't update the visible and collapsed buttons when changing the prop after init.
Describe how to reproduce the bug
Add a kirby-action-group to a component's markup with 5 buttons, set visibleActions to 2.
Update visibleActions after init (e.g. using a timeout or reacting to screen resize). Set visibleActions to 4.
See no changes happen
Which Kirby version was used?
8.6.0
What was the expected behavior?
When updating visibleActions to a higher number than the initial number (e.g. from 2 -> 4) it should reveal those additional buttons
When updating visibleActions to a lower number than the initial number (e.g. from 4 -> 2) it should collapse those additional buttons
Add any screenshots
Please complete the following information:
OS: [e.g. Windows, MacOS, iOS]
Browser [e.g. Chrome, Safari]
Browser version [e.g. 22]
Are there any additional context?
No.
Checklist:
The following tasks should be carried out in sequence in order to follow the process of contributing correctly.
Verification
To make sure the bug is not intended behaviour; it should be verified by a member of team Kirby before moving on to implementation.
Make sure the NOT verified label has been removed by a member of team Kirby; do not proceed until this is done
Implementation
The contributor who wants to implement this issue should:
The text was updated successfully, but these errors were encountered:
jakobe
added
bug
NOT Prioritized
Issue not yet prioritized and added to a Milestone
👶🏻 New
For new issues before prioritisation and refinement
NOT Verified
Applied to bug reports that have not been verified by a member of @kirbydesign/kirby-guild
labels
Jun 14, 2023
jakobe
removed
NOT Prioritized
Issue not yet prioritized and added to a Milestone
👶🏻 New
For new issues before prioritisation and refinement
NOT Verified
Applied to bug reports that have not been verified by a member of @kirbydesign/kirby-guild
labels
Jun 14, 2023
Describe the bug
Action Group supports setting
visibleActions
, but it only works on init, it doesn't update the visible and collapsed buttons when changing the prop after init.Describe how to reproduce the bug
kirby-action-group
to a component's markup with 5 buttons, setvisibleActions
to 2.visibleActions
after init (e.g. using a timeout or reacting to screen resize). SetvisibleActions
to 4.Which Kirby version was used?
8.6.0
What was the expected behavior?
visibleActions
to a higher number than the initial number (e.g. from 2 -> 4) it should reveal those additional buttonsvisibleActions
to a lower number than the initial number (e.g. from 4 -> 2) it should collapse those additional buttonsAdd any screenshots
Please complete the following information:
Are there any additional context?
No.
Checklist:
The following tasks should be carried out in sequence in order to follow the process of contributing correctly.
Verification
To make sure the bug is not intended behaviour; it should be verified by a member of team Kirby before moving on to implementation.
NOT verified
label has been removed by a member of team Kirby; do not proceed until this is doneImplementation
The contributor who wants to implement this issue should:
Review
Once the issue has been implemented and is ready for review:
The text was updated successfully, but these errors were encountered: