Skip to content

Commit b53715c

Browse files
authored
fix(tooltip+popover): auto-append to .modal-content instead of .modal (bootstrap-vue#1465)
Ensures that interactive popovers (i.e. with input(s)) are inside the enforce focus tab ring cycle Fixes bootstrap-vue#1464
1 parent bc67a2d commit b53715c

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

src/utils/tooltip.class.js

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -10,9 +10,10 @@ const BSCLS_PREFIX_REGEX = new RegExp(`\\b${CLASS_PREFIX}\\S+`, 'g')
1010

1111
const TRANSITION_DURATION = 150
1212

13-
// Modal $root event (prepare for future evnt name change)
13+
// Modal $root hidden event
1414
const MODAL_CLOSE_EVENT = 'bv::modal::hidden'
15-
const MODAL_CLASS = '.modal'
15+
// Modal container for appending tip/popover
16+
const MODAL_CLASS = '.modal-content'
1617

1718
const AttachmentMap = {
1819
AUTO: 'auto',

0 commit comments

Comments
 (0)