π₯ π₯ π₯ A Free & Self-hostable Airtable Alternative
TypeScript airtableairtable-alternativeautomatic-apihacktoberfestlow-codeno-codeno-code-databaseno-code-platformpostgresqlrest-apirestful-apispreadsheetsqliteswagger
fix: sidebar base, table, view reorder not working in safari
Ramesh Maned99df3636c2e
diff --git a/packages/nc-gui/utils/browserUtils.ts b/packages/nc-gui/utils/browserUtils.tsindex 73117f2b44..b15ee67d72 100644--- a/packages/nc-gui/utils/browserUtils.ts+++ b/packages/nc-gui/utils/browserUtils.ts@@ -107,7 +107,12 @@ export function isSinglePrintableKey(key: string) {}export const isMousePointerType = (event: Event) => {- return event instanceof PointerEvent && event?.pointerType === 'mouse'+ return (+ // PointerEvent style with mouse+ ('pointerType' in event && (event as PointerEvent).pointerType === 'mouse') ||+ // Safari fallback to MouseEvent+ event instanceof MouseEvent+ )}export const isTouchEvent = (event: Event | TouchEvent) => !isMousePointerType(event)