+6
-3
lines changedFilter options
+6
-3
lines changed Original file line number Diff line number Diff line change
@@ -775,11 +775,14 @@ export const BModal = /*#__PURE__*/ Vue.extend({
775
775
: autoFocus === 'close' && close
776
776
? close.$el || close
777
777
: content
778
-
// Make sure top of modal is showing (if longer than the viewport)
778
+
// Focus the element
779
+
attemptFocus(el)
779
780
if (el === content) {
780
-
modal.scrollTop = 0
781
+
// Make sure top of modal is showing (if longer than the viewport)
782
+
this.$nextTick(() => {
783
+
modal.scrollTop = 0
784
+
})
781
785
}
782
-
attemptFocus(el)
783
786
}
784
787
})
785
788
}
You can’t perform that action at this time.
RetroSearch is an open source project built by @garambo | Open a GitHub Issue
Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo
HTML:
3.2
| Encoding:
UTF-8
| Version:
0.7.4