Lazy bookshelf finalized

This commit is contained in:
advplyr committed 2021-12-01 19:07:03 -06:00
1 parent 5c92aef048
commit 1ef9a689bc
53 files changed
+914 -795

No files matched your search

+7
View File
@@ -122,6 +122,8 @@ export default {
this.recalcMenuPos()
},
inputBlur() {
if (!this.isFocused) return
setTimeout(() => {
if (document.activeElement === this.$refs.input) {
return
@@ -136,6 +138,11 @@ export default {
blur() {
if (this.$refs.input) this.$refs.input.blur()
},
forceBlur() {
this.isFocused = false
if (this.textInput) this.submitForm()
if (this.$refs.input) this.$refs.input.blur()
},
clickedOption(e, itemValue) {
if (e) {
e.stopPropagation()