Skip to content

Commit 898f54d

Browse files
Merge pull request NotionX#496 from s4nju/fix/55_typeform_focus
2 parents 7c5253e + 2a6877a commit 898f54d

File tree

1 file changed

+2
-0
lines changed
  • packages/react-notion-x/src/components

1 file changed

+2
-0
lines changed

packages/react-notion-x/src/components/asset.tsx

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -239,6 +239,8 @@ export const Asset: React.FC<{
239239
/>
240240
)
241241
} else {
242+
src += block.type === 'typeform' ? '&disable-auto-focus=true' : ''
243+
242244
content = (
243245
<iframe
244246
className='notion-asset-object-fit'

0 commit comments

Comments
 (0)