fix(a11y): add feedback source dialog cannot scroll on short screens (#8004)

This commit is contained in:
Dhruwang Jariwala
2026-05-14 16:10:05 +05:30
committed by GitHub
2 changed files with 4 additions and 3 deletions
@@ -18,6 +18,7 @@ import { Alert } from "@/modules/ui/components/alert";
import { Button } from "@/modules/ui/components/button";
import {
Dialog,
DialogBody,
DialogContent,
DialogDescription,
DialogFooter,
@@ -425,7 +426,7 @@ export const CreateConnectorModal = ({
<DialogDescription>{getDialogDescription(currentStep, selectedType, t)}</DialogDescription>
</DialogHeader>
<div className="py-4">
<DialogBody>
{currentStep === "selectType" && (
<ConnectorTypeSelector
selectedType={selectedType}
@@ -593,7 +594,7 @@ export const CreateConnectorModal = ({
)}
</div>
)}
</div>
</DialogBody>
<DialogFooter>
{currentStep === "mapping" && (
+1 -1
View File
@@ -123,7 +123,7 @@ export const deleteFeedbackRecord = async (id: string): Promise<HubFeedbackRecor
return { data: { deleted: true }, error: null };
} catch (err) {
logger.warn({ err, id }, "Hub: deleteFeedbackRecord failed");
const status = err instanceof FormbricksHub.APIError ? err.status : 0;
const status = getErrorStatus(err);
const message = getErrorMessage(err);
return { data: null, error: { status, message, detail: message } };
}