1
0
Fork 0
mirror of synced 2024-10-01 01:28:51 +13:00

Merge branch 'master' into fix/oss-build

This commit is contained in:
Adria Navarro 2024-04-11 17:01:41 +02:00 committed by GitHub
commit c33dc1f397
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
2 changed files with 6 additions and 2 deletions

View file

@ -1,5 +1,5 @@
{
"version": "2.23.3",
"version": "2.23.4",
"npmClient": "yarn",
"packages": [
"packages/*",

View file

@ -137,8 +137,12 @@
const activeTag = document.activeElement?.tagName.toLowerCase()
const inCodeEditor =
document.activeElement?.classList?.contains("cm-content")
const inPosthogSurvey =
document.activeElement?.classList?.[0]?.startsWith("PostHogSurvey")
if (
(inCodeEditor || ["input", "textarea"].indexOf(activeTag) !== -1) &&
(inCodeEditor ||
inPosthogSurvey ||
["input", "textarea"].indexOf(activeTag) !== -1) &&
e.key !== "Escape"
) {
return