From c743cef429c2c2ca52bb0b5a70cf072af0ac9fd0 Mon Sep 17 00:00:00 2001 From: simeng-li Date: Thu, 15 Jun 2023 18:56:32 +0800 Subject: [PATCH] fix(ui): fix preview classname overwrite bug (#4038) fix(ui): fix preview mode user can interact bug fix preview mode user can interact bug --- .changeset/six-starfishes-hide.md | 7 +++++++ packages/ui/src/Providers/AppBoundary/AppMeta.tsx | 2 ++ 2 files changed, 9 insertions(+) create mode 100644 .changeset/six-starfishes-hide.md diff --git a/.changeset/six-starfishes-hide.md b/.changeset/six-starfishes-hide.md new file mode 100644 index 000000000..413ac27fb --- /dev/null +++ b/.changeset/six-starfishes-hide.md @@ -0,0 +1,7 @@ +--- +"@logto/ui": patch +--- + +Bug fix main flow preview mode should not allow user interaction. + +- Recover the missing preview classname from the preview mode body element diff --git a/packages/ui/src/Providers/AppBoundary/AppMeta.tsx b/packages/ui/src/Providers/AppBoundary/AppMeta.tsx index 8470a48e5..02499806e 100644 --- a/packages/ui/src/Providers/AppBoundary/AppMeta.tsx +++ b/packages/ui/src/Providers/AppBoundary/AppMeta.tsx @@ -38,6 +38,8 @@ const AppMeta = () => { {experienceSettings?.customCss && }