Skip to content

Commit 42da5f3

Browse files
Merge pull request NotionX#494 from s4nju/add_app_element
2 parents 898f54d + 89d1fca commit 42da5f3

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

packages/react-notion-x/src/components/search-dialog.tsx

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -11,8 +11,6 @@ import { SearchIcon } from '../icons/search-icon'
1111
import { cs } from '../utils'
1212
import { PageTitle } from './page-title'
1313

14-
// TODO: modal.default.setAppElement('.notion-viewport')
15-
1614
export class SearchDialog extends React.Component<{
1715
isOpen: boolean
1816
rootBlockId: string
Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,5 @@
11
import Modal from 'react-modal'
22

3+
Modal.setAppElement('.notion-frame')
4+
35
export { Modal }

0 commit comments

Comments
 (0)