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

Nav-tabs event scoping #874

Merged
merged 1 commit into from
Oct 19, 2023
Merged

Nav-tabs event scoping #874

merged 1 commit into from
Oct 19, 2023

Conversation

bbpennel
Copy link
Contributor

We've recently encountered issues where some of our non-bulkrax pages with tabbed content are attempting to switch content via javascript when they are actually supposed to trigger a page reload. It appears that an event in bulkrax is being bound to all bootstrap "nav-tab" objects, and is interfering with the expected behavior.

This PR just scopes the event binding to bulkrax related content to prevent the event from leaking to other unrelated pages. bulkrax-nav-tab-top-margin was the best class I could find, but I'm definitely open to suggestions.

@jeremyf jeremyf added bug-fix patch-ver for release notes labels Oct 19, 2023
@jeremyf jeremyf merged commit bc82a6f into samvera:main Oct 19, 2023
7 of 8 checks passed
@bbpennel bbpennel deleted the nav-tab-scope branch October 25, 2023 18:21
jeremyf added a commit that referenced this pull request Jan 24, 2024
* main: (24 commits)
  Retry and delete take 2 (#894)
  🎁 Add `Bulkrax.persistence_adapter` (#895)
  💸 Mint v6.0.1 (#892)
  🐛 Fix #work_identifier_search_field logic (#891)
  💸 Bump to v6.0.0 (#889)
  make search string used to look up objects configurable (#884)
  💸 v5.5.0 (#888)
  unpin dry-monads. its not a dependency of bulkrax (#885)
  fix syntax error in ERB (#883)
  add support for Rails 6, Hyrax 4, and Blacklight 7 (#782)
  Reduce SQL calls when incrementing/decrementing run counters (#881)
  Update readme to remove references to samvera-labs (#880)
  add Compatibility section to readme (#879)
  🐛 Fix tabs for Hydra application (#875)
  Nav-tabs event scoping (#874)
  📚 Update docs in preparation for best practices seminar (#873)
  use the `GlobalID` library tooling to determine global id (#869)
  Avoid NoMethodError in Bulkrax::Importers::Controller#create. (#870)
  preparing to deploy v5.4.1 (#868)
  5.4.0-bug-fixes (#865)
  ...
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug-fix patch-ver for release notes
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants