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

[#62] Fixed For navigation, accordion and side bar components - UP does not close open menu/accordion. #114

Merged
merged 3 commits into from
Mar 15, 2024

Conversation

joshua-salsadigital
Copy link
Collaborator

@joshua-salsadigital joshua-salsadigital commented Mar 15, 2024

Closes #62

Checklist before requesting a review

  • I have formatted the subject to include the issue number
    as [#123] Verb in past tense with a period at the end.
  • I have provided information in the Changed section about WHY something was
    done if this was a bespoke implementation.
  • I have performed a self-review of my code.
  • I have commented on my code, particularly in hard-to-understand areas.
  • I have added tests that prove my fix is effective or that my feature works.
  • I have run new and existing relevant tests locally with my changes,
    and they have passed.
  • I have provided screenshots, where applicable.

Changed

  1. Fixed For navigation, accordion and side bar components - UP does not close open menu/accordion.

Screenshots

https://nimb.ws/kouGV6B

@joshua-salsadigital joshua-salsadigital added the PR: Needs review Pull request needs a review from assigned developers label Mar 15, 2024
@joshua-salsadigital joshua-salsadigital self-assigned this Mar 15, 2024
Copy link

github-actions bot commented Mar 15, 2024

@github-actions github-actions bot temporarily deployed to pull request March 15, 2024 07:13 Inactive
@@ -255,7 +255,11 @@ CivicThemeCollapsible.prototype.collapse = function (animate, evt) {
}

if (evt && evt.target) {
if (evt.currentTarget !== t.el || evt.target !== t.el) {
if (evt.detail.keydown) {
if (evt.target.closest('li') !== t.el) {
Copy link
Contributor

Choose a reason for hiding this comment

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

@joshua-salsadigital
we cannot target elements by tag as it will not be portable - collapsible is not aware on which components it is used. please find another way to solve this

Copy link
Contributor

@AlexSkrypnyk AlexSkrypnyk left a comment

Choose a reason for hiding this comment

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

@AlexSkrypnyk AlexSkrypnyk added PR: Requires more work Pull request was reviewed and reviver(s) asked to work further on the pull request and removed PR: Needs review Pull request needs a review from assigned developers labels Mar 15, 2024
@AlexSkrypnyk AlexSkrypnyk added this to the 1.7 milestone Mar 15, 2024
@github-actions github-actions bot temporarily deployed to pull request March 15, 2024 10:22 Inactive
@joshua-salsadigital joshua-salsadigital added PR: Needs review Pull request needs a review from assigned developers and removed PR: Requires more work Pull request was reviewed and reviver(s) asked to work further on the pull request labels Mar 15, 2024
@AlexSkrypnyk AlexSkrypnyk merged commit b3f22a2 into main Mar 15, 2024
4 checks passed
@AlexSkrypnyk AlexSkrypnyk deleted the feature/62-fix-up-event-regression branch March 15, 2024 11:20
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
PR: Needs review Pull request needs a review from assigned developers
Projects
Status: Done
Development

Successfully merging this pull request may close these issues.

Side navigation parent items collapse when a descendant item is collapsed via keyboard
2 participants