is clickable in this case
registerClickDelegate(this, delegateKey, (e) => this.onClickOrKeydown(e))
}
@@ -268,4 +269,4 @@
})
}
}
-
\ No newline at end of file
+
diff --git a/routes/_pages/settings/general.html b/routes/_pages/settings/general.html
index 0aad1469..9b759035 100644
--- a/routes/_pages/settings/general.html
+++ b/routes/_pages/settings/general.html
@@ -32,6 +32,11 @@
bind:checked="$reduceMotion" on:change="onChange(event)">
+
+
+
+
@@ -91,4 +96,4 @@
)
}
}
-
\ No newline at end of file
+
diff --git a/routes/_store/store.js b/routes/_store/store.js
index 7cbb037b..3de63a8a 100644
--- a/routes/_store/store.js
+++ b/routes/_store/store.js
@@ -12,6 +12,7 @@ const persistedState = {
currentRegisteredInstance: undefined,
disableCustomScrollbars: false,
disableLongAriaLabels: false,
+ disableTapOnStatus: false,
instanceNameInSearch: '',
instanceThemes: {},
loggedInInstances: {},
diff --git a/routes/_utils/delegate.js b/routes/_utils/delegate.js
index 10436753..032aa46c 100644
--- a/routes/_utils/delegate.js
+++ b/routes/_utils/delegate.js
@@ -14,6 +14,13 @@ function onEvent (e) {
// we're not interested in any non-click or non-Enter events
return
}
+ if (type === 'click') {
+ let selection = window.getSelection()
+ let selectionStr = selection && selection.toString()
+ if (selectionStr && selection.toString().length && target.contains(selection.anchorNode)) {
+ return // ignore if the user is selecting text inside the clickable area
+ }
+ }
mark('delegate onEvent')
let key
let element = target