mirror of
https://github.com/formbricks/formbricks.git
synced 2026-05-14 19:38:53 -05:00
fix(a11y): add feedback source dialog cannot scroll on short screens (#8004)
This commit is contained in:
@@ -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" && (
|
||||
|
||||
@@ -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 } };
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user