Skip to content

Commit a9fc8d8

Browse files
dependabot[bot]deivid-rodriguez
authored andcommitted
chore(deps): Bump bootstrap from 5.2.0 to 5.3.3
The search tooltip had strange behavior related to hovering. I found a hack to disable that behavior. Bumps [bootstrap](https://github.com/twbs/bootstrap) from 5.2.0 to 5.3.3. - [Release notes](https://github.com/twbs/bootstrap/releases) - [Commits](twbs/bootstrap@v5.2.0...v5.3.3) --- updated-dependencies: - dependency-name: bootstrap dependency-type: direct:production update-type: version-update:semver-minor ... Signed-off-by: dependabot[bot] <[email protected]>
1 parent 6416d2b commit a9fc8d8

File tree

4 files changed

+15
-13
lines changed

4 files changed

+15
-13
lines changed

assets/javascripts/search.js

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -47,12 +47,14 @@ document.addEventListener('DOMContentLoaded', function () {
4747
this.hidePopover = function () {
4848
const popover = Popover.getInstance(this.searchInput);
4949
popover.hide();
50+
popover._activeTrigger['hover'] = true;
5051
this.searchArrows.destroy();
5152
};
5253

5354
this.showPopover = function (text) {
5455
this.popoverContent = this.generatePopoverContent(text);
5556
const popover = Popover.getInstance(this.searchInput);
57+
popover._activeTrigger['hover'] = true;
5658
popover._disposePopper();
5759
popover.show();
5860
document.querySelector('.popover-body').innerHTML = this.popoverContent;

assets/stylesheets/application.css.scss

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -10,8 +10,8 @@ $navbar-height: 50px;
1010
}
1111

1212
// Boostrap 5 customization
13-
// Document: https://getbootstrap.com/docs/5.2/customize/sass/#importing
14-
// List of SCSS to load: https://github.com/twbs/bootstrap/blob/v5.2.0/scss/bootstrap.scss
13+
// Document: https://getbootstrap.com/docs/5.3/customize/sass/#importing
14+
// List of SCSS to load: https://github.com/twbs/bootstrap/blob/v5.3.3/scss/bootstrap.scss
1515
@import "~bootstrap/scss/functions";
1616

1717
pre {
@@ -36,7 +36,7 @@ $icon-font-path: '~bootstrap/assets/fonts/bootstrap/';
3636
// Note: tables, dropdown, button-group, accordion, breadcrumb, pagination,
3737
// badge, alert, progress, list-group, close, toasts, modal, tooltip, carousel,
3838
// spinners, offcanvas, and placeholders were excluded as they are not used as
39-
// of Bootstrap 5.2.0
39+
// of Bootstrap 5.3.3
4040
@import "~bootstrap/scss/root";
4141
@import "~bootstrap/scss/reboot";
4242
@import "~bootstrap/scss/type";
@@ -70,7 +70,7 @@ $icon-font-path: '~bootstrap/assets/fonts/bootstrap/';
7070
@import "anchorjs";
7171
@import "search";
7272

73-
// More various utilities extended from Bootstrap 5.2
73+
// More various utilities extended from Bootstrap 5.3
7474
@import "opacity";
7575

7676
.row:after {

package-lock.json

Lines changed: 8 additions & 8 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@
3737
"dependencies": {
3838
"@popperjs/core": "^2.11.8",
3939
"anchor-js": "^5.0.0",
40-
"bootstrap": "^5.2.0",
40+
"bootstrap": "^5.3.3",
4141
"lunr": "^0.7.0"
4242
}
4343
}

0 commit comments

Comments
 (0)